diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-09 16:18:47 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-09 16:20:04 +0100 |
commit | a3eaefa5303ace7bb7dfea85eac83eef661b991e (patch) | |
tree | 2a9ea1c08fe9c753b93618911857a5362bbab096 /settings/js/personal.js | |
parent | 4659bf9b4a880376e690d3ca52e855a861c143f1 (diff) | |
download | nextcloud-server-a3eaefa5303ace7bb7dfea85eac83eef661b991e.tar.gz nextcloud-server-a3eaefa5303ace7bb7dfea85eac83eef661b991e.zip |
Save display name and email address on paste operations - fixes #22245
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r-- | settings/js/personal.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index 65bc88d2098..b0bfa8eb230 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -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(); + } + } + }); }; |