mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 13:40:15 +08:00
Refactoring: disable ButtonsArray on start
This commit is contained in:
@ -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';
|
||||
|
||||
Reference in New Issue
Block a user