summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/sharedialoglinkshareview.js4
-rw-r--r--core/js/sharedialogview.js8
2 files changed, 8 insertions, 4 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js
index e7bea516be0..7e3ce923ef9 100644
--- a/core/js/sharedialoglinkshareview.js
+++ b/core/js/sharedialoglinkshareview.js
@@ -259,7 +259,9 @@
password: ''
});
} else {
- this.$el.find('.linkPassText').focus();
+ if (!OC.Util.isIE()) {
+ this.$el.find('.linkPassText').focus();
+ }
}
},
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();
+ });
+ }
}
},