Refactoring: disable ButtonsArray on start

This commit is contained in:
Julia Radzhabova 2019-06-14 15:54:38 +03:00
parent e573009589
commit 8a543f82fa

View file

@ -824,6 +824,7 @@ Common.Utils.lockControls = function(causes, lock, opts, defControls) {
Common.Utils.injectButtons = function($slots, id, iconCls, caption, lock, split, menu, toggle) {
var btnsArr = createButtonSet();
btnsArr.setDisabled(true);
id = id || ("id-toolbar-" + iconCls);
$slots.each(function(index, el) {
var _cls = 'btn-toolbar';