diff options
author | Felix Heidecke <felixheidecke@users.noreply.github.com> | 2017-02-15 13:50:53 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-03-23 17:34:50 -0600 |
commit | a9dc3239b3ec67ccdf4e01361d69358cb1415669 (patch) | |
tree | 2f20e9b1c9f7a127cb2bb435550c82eb09013cd7 /core/js/sharedialogview.js | |
parent | 49d0507f5d1954a439a69f4d1a4e94a8cc2981dd (diff) | |
download | nextcloud-server-a9dc3239b3ec67ccdf4e01361d69358cb1415669.tar.gz nextcloud-server-a9dc3239b3ec67ccdf4e01361d69358cb1415669.zip |
Remove auto-focus on certain input fields
* remove autofocus on input certain input fields if browser is msie
* Update sharedialoglinkshareview.js
* Update sharedialogview.js
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/js/sharedialogview.js')
-rw-r--r-- | core/js/sharedialogview.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index 47471955563..16a2be0c4a9 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -397,9 +397,11 @@ if (!this._loadingOnce) { this._loadingOnce = true; // the first time, focus on the share field after the spinner disappeared - _.defer(function() { - self.$('.shareWithField').focus(); - }); + if (!OC.Util.isIE()) { + _.defer(function () { + self.$('.shareWithField').focus(); + }); + } } }, |