diff --git a/apps/documenteditor/main/app/controller/Toolbar.js b/apps/documenteditor/main/app/controller/Toolbar.js index 001ea30896..c87eac405c 100644 --- a/apps/documenteditor/main/app/controller/Toolbar.js +++ b/apps/documenteditor/main/app/controller/Toolbar.js @@ -3548,7 +3548,7 @@ define([ if (this.currentSmartArtMenu) { this.currentSmartArtMenu.menu.alignPosition(); } - if (this.delayedSmartArt) { + if (this.delayedSmartArt !== undefined) { var delayedSmartArt = this.delayedSmartArt; this.delayedSmartArt = undefined; this.generateSmartArt(delayedSmartArt); diff --git a/apps/presentationeditor/main/app/controller/Toolbar.js b/apps/presentationeditor/main/app/controller/Toolbar.js index b29786c5f0..15d2a440db 100644 --- a/apps/presentationeditor/main/app/controller/Toolbar.js +++ b/apps/presentationeditor/main/app/controller/Toolbar.js @@ -2841,7 +2841,7 @@ define([ if (this.currentSmartArtMenu) { this.currentSmartArtMenu.menu.alignPosition(); } - if (this.delayedSmartArt) { + if (this.delayedSmartArt !== undefined) { var delayedSmartArt = this.delayedSmartArt; this.delayedSmartArt = undefined; this.generateSmartArt(delayedSmartArt); diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index 4ead65136a..5953fbcde9 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -5073,7 +5073,7 @@ define([ if (this.currentSmartArtMenu) { this.currentSmartArtMenu.menu.alignPosition(); } - if (this.delayedSmartArt) { + if (this.delayedSmartArt !== undefined) { var delayedSmartArt = this.delayedSmartArt; this.delayedSmartArt = undefined; this.generateSmartArt(delayedSmartArt);