aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-06-14 14:07:57 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2019-06-14 14:07:57 +0200
commit1809dae04fe064da7d549d5346ebce78ccec0d42 (patch)
tree6503f2f912d329e2e58835caaeb80f3be691f670
parentf349d5a225cf8c3faa8b36f9b4f7c96cc36a42b1 (diff)
downloadnextcloud-server-1809dae04fe064da7d549d5346ebce78ccec0d42.tar.gz
nextcloud-server-1809dae04fe064da7d549d5346ebce78ccec0d42.zip
Remove auto focus of share input field on dialog open, fix #15261
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
-rw-r--r--core/js/sharedialogview.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js
index 90177ad1256..2765cf43ad7 100644
--- a/core/js/sharedialogview.js
+++ b/core/js/sharedialogview.js
@@ -1038,12 +1038,6 @@
this._toggleLoading(false);
if (!this._loadingOnce) {
this._loadingOnce = true;
- // the first time, focus on the share field after the spinner disappeared
- if (!OC.Util.isIE()) {
- _.defer(function () {
- self.$('.shareWithField').focus();
- });
- }
}
},