Fix loading on IE10
This commit is contained in:
parent
c86e3e77c5
commit
4e033860cf
|
@ -642,7 +642,7 @@ define([
|
||||||
$btnUsers.addClass('disabled').attr('disabled', 'disabled'); else
|
$btnUsers.addClass('disabled').attr('disabled', 'disabled'); else
|
||||||
$btnUsers.removeClass('disabled').attr('disabled', '');
|
$btnUsers.removeClass('disabled').attr('disabled', '');
|
||||||
} else {
|
} else {
|
||||||
function _lockButton(btn) {
|
var _lockButton = function (btn) {
|
||||||
if ( btn ) {
|
if ( btn ) {
|
||||||
if ( lock ) {
|
if ( lock ) {
|
||||||
btn.keepState = {
|
btn.keepState = {
|
||||||
|
@ -654,7 +654,7 @@ define([
|
||||||
delete btn.keepState;
|
delete btn.keepState;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
switch ( alias ) {
|
switch ( alias ) {
|
||||||
case 'undo': _lockButton(me.btnUndo); break;
|
case 'undo': _lockButton(me.btnUndo); break;
|
||||||
|
|
Loading…
Reference in a new issue