Fix loading on IE10

This commit is contained in:
Julia Radzhabova 2018-07-30 17:08:33 +03:00
parent c86e3e77c5
commit 4e033860cf

View file

@ -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;