For Bug 58375
This commit is contained in:
parent
5c220f02ed
commit
8f74869195
|
@ -428,7 +428,6 @@ define([
|
|||
|
||||
if ( this.mode.canCreateNew ) {
|
||||
if (this.mode.templates && this.mode.templates.length) {
|
||||
$('a',this.miNew.$el).text(this.btnCreateNewCaption + '...');
|
||||
!this.panels['new'] && (this.panels['new'] = ((new DE.Views.FileMenuPanels.CreateNew({menu: this, docs: this.mode.templates, blank: this.mode.canRequestCreateNew || !!this.mode.createUrl})).render()));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -429,7 +429,6 @@ define([
|
|||
|
||||
if ( this.mode.canCreateNew ) {
|
||||
if (this.mode.templates && this.mode.templates.length) {
|
||||
$('a',this.miNew.$el).text(this.btnCreateNewCaption + '...');
|
||||
!this.panels['new'] && (this.panels['new'] = (new PE.Views.FileMenuPanels.CreateNew({menu: this, docs: this.mode.templates, blank: this.mode.canRequestCreateNew || !!this.mode.createUrl})).render());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -413,7 +413,6 @@ define([
|
|||
|
||||
if ( this.mode.canCreateNew ) {
|
||||
if (this.mode.templates && this.mode.templates.length) {
|
||||
$('a',this.miNew.$el).text(this.btnCreateNewCaption + '...');
|
||||
!this.panels['new'] && (this.panels['new'] = (new SSE.Views.FileMenuPanels.CreateNew({menu: this, docs: this.mode.templates, blank: this.mode.canRequestCreateNew || !!this.mode.createUrl})).render());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue