diff options
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-x[-rw-r--r--] | js/ninja.reel/ninja.css | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/ninja.reel/ninja.html | 8 | ||||
-rwxr-xr-x[-rw-r--r--] | js/ninja.reel/ninja.js | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/js/ninja.reel/ninja.css b/js/ninja.reel/ninja.css index 99fa9a4f..99fa9a4f 100644..100755 --- a/js/ninja.reel/ninja.css +++ b/js/ninja.reel/ninja.css | |||
diff --git a/js/ninja.reel/ninja.html b/js/ninja.reel/ninja.html index 706c8243..0f23a18f 100644..100755 --- a/js/ninja.reel/ninja.html +++ b/js/ninja.reel/ninja.html | |||
@@ -255,9 +255,14 @@ | |||
255 | }, | 255 | }, |
256 | 256 | ||
257 | "newFileController": { | 257 | "newFileController": { |
258 | "module": "js/io/workflow/newFileDialog/new-file-workflow-controller", | 258 | "module": "js/io/ui/new-file-dialog/new-file-workflow-controller", |
259 | "name": "NewFileWorkflowController" | 259 | "name": "NewFileWorkflowController" |
260 | }, | 260 | }, |
261 | |||
262 | "coreIoApi1": { | ||
263 | "module": "js/io/system/coreioapi", | ||
264 | "name": "CoreIoApi" | ||
265 | }, | ||
261 | 266 | ||
262 | "owner": { | 267 | "owner": { |
263 | "module": "js/ninja.reel", | 268 | "module": "js/ninja.reel", |
@@ -279,6 +284,7 @@ | |||
279 | "stylesController": {"@": "stylesController"}, | 284 | "stylesController": {"@": "stylesController"}, |
280 | "filePickerController": {"@": "filePickerController"}, | 285 | "filePickerController": {"@": "filePickerController"}, |
281 | "newFileController": {"@": "newFileController"}, | 286 | "newFileController": {"@": "newFileController"}, |
287 | "coreIoApi": {"@": "coreIoApi1"}, | ||
282 | "documentBar": {"@": "documentBar"} | 288 | "documentBar": {"@": "documentBar"} |
283 | } | 289 | } |
284 | } | 290 | } |
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 90015f5a..3b9fc1c5 100644..100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -101,6 +101,9 @@ exports.Ninja = Montage.create(Component, { | |||
101 | didDraw: { | 101 | didDraw: { |
102 | value: function() { | 102 | value: function() { |
103 | if(!this._didDraw) { | 103 | if(!this._didDraw) { |
104 | if (!this.application.ninja.coreIoApi.ioServiceDetected) { | ||
105 | var check = this.application.ninja.coreIoApi.cloudAvailable(); | ||
106 | } | ||
104 | NJevent("appLoaded"); | 107 | NJevent("appLoaded"); |
105 | this._didDraw = true; | 108 | this._didDraw = true; |
106 | } | 109 | } |