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>
This commit is contained in:
parent
49d0507f5d
commit
a9dc3239b3
|
@ -259,8 +259,10 @@
|
||||||
password: ''
|
password: ''
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
if (!OC.Util.isIE()) {
|
||||||
this.$el.find('.linkPassText').focus();
|
this.$el.find('.linkPassText').focus();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onPasswordKeyUp: function(event) {
|
onPasswordKeyUp: function(event) {
|
||||||
|
|
|
@ -397,10 +397,12 @@
|
||||||
if (!this._loadingOnce) {
|
if (!this._loadingOnce) {
|
||||||
this._loadingOnce = true;
|
this._loadingOnce = true;
|
||||||
// the first time, focus on the share field after the spinner disappeared
|
// the first time, focus on the share field after the spinner disappeared
|
||||||
|
if (!OC.Util.isIE()) {
|
||||||
_.defer(function () {
|
_.defer(function () {
|
||||||
self.$('.shareWithField').focus();
|
self.$('.shareWithField').focus();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
|
Loading…
Reference in New Issue