mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Save display name and email address on paste operations - fixes #22245
This commit is contained in:
parent
4659bf9b4a
commit
a3eaefa530
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