From a9dc3239b3ec67ccdf4e01361d69358cb1415669 Mon Sep 17 00:00:00 2001 From: Felix Heidecke Date: Wed, 15 Feb 2017 13:50:53 +0100 Subject: 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 --- core/js/sharedialogview.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'core/js/sharedialogview.js') 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(); + }); + } } }, -- cgit v1.2.3