diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-09 23:36:10 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-09 23:36:10 +0100 |
commit | 22c8501ce9338f3a2a39ea70a40a7df395396f4b (patch) | |
tree | 34f5adc5dcba9dabdbe3b0f0cc04d0eb00957afd /settings | |
parent | f64dbc67c65077f4f0879d47ca4ea6ac0770a4a3 (diff) | |
parent | a3eaefa5303ace7bb7dfea85eac83eef661b991e (diff) | |
download | nextcloud-server-22c8501ce9338f3a2a39ea70a40a7df395396f4b.tar.gz nextcloud-server-22c8501ce9338f3a2a39ea70a40a7df395396f4b.zip |
Merge pull request #22249 from owncloud/fix-22245
Save display name and email address on paste operations
Diffstat (limited to 'settings')
-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(); + } + } + }); }; |