Merge pull request #22249 from owncloud/fix-22245
Save display name and email address on paste operations
This commit is contained in:
commit
22c8501ce9
|
@ -31,6 +31,14 @@ jQuery.fn.keyUpDelayedOrEnter = function (callback, allowEmptyValue) {
|
||||||
cb();
|
cb();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.bind('paste', null, function (e) {
|
||||||
|
if(!e.keyCode){
|
||||||
|
if (allowEmptyValue || that.val() !== '') {
|
||||||
|
cb();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue