Browse Source

Remove auto focus of share input field on dialog open, fix #15261 (#15960)

Remove auto focus of share input field on dialog open, fix #15261
John Molakvoæ 4 years ago
parent
commit
94e4ce38cf
3 changed files with 0 additions and 6 deletions
  1. 0 0
      core/js/dist/share_backend.js
  2. 0 0
      core/js/dist/share_backend.js.map
  3. 0 6
      core/js/sharedialogview.js

File diff suppressed because it is too large
+ 0 - 0
core/js/dist/share_backend.js


File diff suppressed because it is too large
+ 0 - 0
core/js/dist/share_backend.js.map


+ 0 - 6
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();
-					});
-				}
 			}
 		},
 

Some files were not shown because too many files changed in this diff