aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/document-controller.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index 48033b61..48ceb21b 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -158,13 +158,13 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
158 }, 158 },
159 159
160 handleExecuteNewFile: { 160 handleExecuteNewFile: {
161 value: function(event) { 161 value: function(event) {
162 var newFileSettings = event._event.settings || {}; 162 var newFileSettings = event._event.settings || {};
163 if (this.application.ninja.coreIoApi.cloudAvailable()) { 163 if (this.application.ninja.coreIoApi.cloudAvailable()) {
164 newFileSettings.callback = this.createNewFile.bind(this); 164 newFileSettings.callback = this.createNewFile.bind(this);
165 this.application.ninja.newFileController.showNewFileDialog(newFileSettings); 165 this.application.ninja.newFileController.showNewFileDialog(newFileSettings);
166 }
167 } 166 }
167 }
168 }, 168 },
169 //////////////////////////////////////////////////////////////////// 169 ////////////////////////////////////////////////////////////////////
170 // 170 //
@@ -610,7 +610,7 @@ if(this.activeDocument && this.application.ninja.coreIoApi.cloudAvailable()){
610 //hide the iframe when switching to code view 610 //hide the iframe when switching to code view
611 document.getElementById("iframeContainer").style.display = "none"; 611 document.getElementById("iframeContainer").style.display = "none";
612 } 612 }
613 } 613 }
614 } 614 }
615 }, 615 },
616 616