[SSE] button "settings" stayed disabled for some actions

This commit is contained in:
Maxim Kadushkin 2018-04-18 15:30:09 +03:00
parent 9b8cc2bd29
commit e7cfb6909b

View file

@ -674,7 +674,7 @@ define([
};
btn.setDisabled( true );
} else {
btn.setDisabled( btn.keepState.disabled );
btn.setDisabled( btn.keepState && btn.keepState.disabled || lock);
delete btn.keepState;
}
}