mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 05:30:15 +08:00
[DE PE] show menu item "Open from template"
This commit is contained in:
@ -491,7 +491,8 @@ define([
|
||||
const _extend_menu_file = args => {
|
||||
console.log('extend menu file')
|
||||
|
||||
if ( native.features.opentemplate ) {
|
||||
// if ( native.features.opentemplate )
|
||||
{
|
||||
const filemenu = webapp.getController('LeftMenu').leftMenu.getMenu('file');
|
||||
if ( filemenu.miNew.visible ) {
|
||||
const miNewFromTemplate = new Common.UI.MenuItem({
|
||||
|
||||
@ -348,6 +348,7 @@ define([
|
||||
this.panels['protect'].setApi(this.api);
|
||||
}
|
||||
|
||||
this.fireEvent('render:after', [this]);
|
||||
return this;
|
||||
},
|
||||
|
||||
|
||||
@ -344,6 +344,7 @@ define([
|
||||
this.panels['protect'].setApi(this.api);
|
||||
}
|
||||
|
||||
this.fireEvent('render:after', [this]);
|
||||
return this;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user