mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 13:10:48 +08:00
Merge pull request 'Delete unused' (#484) from fix/bugfix into release/v9.0.0
This commit is contained in:
@ -1463,7 +1463,7 @@ define([
|
||||
if ($panel) {
|
||||
me.toolbar.addTab(tab, $panel, 2);
|
||||
me.toolbar.setVisible('forms', true);
|
||||
me.api.SetEditFieldsMode(true);
|
||||
|
||||
Array.prototype.push.apply(me.toolbar.lockControls, forms.getView('FormsTab').getButtons());
|
||||
}
|
||||
}
|
||||
@ -1511,7 +1511,6 @@ define([
|
||||
|
||||
this._state.initEditing = false;
|
||||
}
|
||||
this.api.SetEditFieldsMode(this.mode.isPDFEdit && this.mode.canFeatureForms);
|
||||
if (this.mode.isPDFEdit || toolbar.isTabActive('ins') || toolbar.isTabActive('forms'))
|
||||
toolbar.setTab('home');
|
||||
toolbar.setVisible('ins', this.mode.isPDFEdit);
|
||||
|
||||
Reference in New Issue
Block a user