diff options
author | Valerio Virgillito | 2012-05-14 17:31:21 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-14 17:31:21 -0700 |
commit | a2bdd73e456569a1472e108dc069faca369d4546 (patch) | |
tree | 378199091ee9dc6e6650920aa431225c2f8b6f0c /js/controllers | |
parent | 6fe05fc4f518000cf9a7af3c34381af16579a6d6 (diff) | |
parent | 5df0e78f2eced2fd04a531652f61c42261d97636 (diff) | |
download | ninja-a2bdd73e456569a1472e108dc069faca369d4546.tar.gz |
Merge pull request #230 from mencio/dom-architecture
Dom architecture - Fixing the Body PI
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/document-controller.js | 14 |
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 | ||