Merge pull request #1711 from ONLYOFFICE/fix/bugfix
[SSE] Fix Bug 54813
This commit is contained in:
		
						commit
						cb8cf2b5be
					
				| 
						 | 
					@ -3806,6 +3806,7 @@ define([
 | 
				
			||||||
                        var wbtab = me.getApplication().getController('WBProtection');
 | 
					                        var wbtab = me.getApplication().getController('WBProtection');
 | 
				
			||||||
                        $panel.append(wbtab.createToolbarPanel());
 | 
					                        $panel.append(wbtab.createToolbarPanel());
 | 
				
			||||||
                        me.toolbar.addTab(tab, $panel, 7);
 | 
					                        me.toolbar.addTab(tab, $panel, 7);
 | 
				
			||||||
 | 
					                        me.toolbar.setVisible('protect', Common.UI.LayoutManager.isElementVisible('toolbar-protect'));
 | 
				
			||||||
                        Array.prototype.push.apply(me.toolbar.lockControls, wbtab.getView('WBProtection').getButtons());
 | 
					                        Array.prototype.push.apply(me.toolbar.lockControls, wbtab.getView('WBProtection').getButtons());
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue