mirror of
https://github.com/nextcloud/server.git
synced 2026-04-25 08:08:33 -04:00
Merge pull request #22249 from owncloud/fix-22245
Save display name and email address on paste operations
This commit is contained in:
commit
22c8501ce9
1 changed files with 8 additions and 0 deletions
|
|
@ -31,6 +31,14 @@ jQuery.fn.keyUpDelayedOrEnter = function (callback, allowEmptyValue) {
|
|||
cb();
|
||||
}
|
||||
});
|
||||
|
||||
this.bind('paste', null, function (e) {
|
||||
if(!e.keyCode){
|
||||
if (allowEmptyValue || that.val() !== '') {
|
||||
cb();
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue