diff options
Diffstat (limited to 'js/components/layout/documents-tab.reel/documents-tab.js')
-rwxr-xr-x[-rw-r--r--] | js/components/layout/documents-tab.reel/documents-tab.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/components/layout/documents-tab.reel/documents-tab.js b/js/components/layout/documents-tab.reel/documents-tab.js index e874a73c..982f6ecd 100644..100755 --- a/js/components/layout/documents-tab.reel/documents-tab.js +++ b/js/components/layout/documents-tab.reel/documents-tab.js | |||
@@ -7,8 +7,6 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
7 | var Montage = require("montage/core/core").Montage; | 7 | var Montage = require("montage/core/core").Montage; |
8 | var Component = require("montage/ui/component").Component; | 8 | var Component = require("montage/ui/component").Component; |
9 | 9 | ||
10 | var documentManagerModule = require("js/io/document/document-controller"); | ||
11 | |||
12 | exports.DocumentsTab = Montage.create(Component, { | 10 | exports.DocumentsTab = Montage.create(Component, { |
13 | 11 | ||
14 | openDocuments: { | 12 | openDocuments: { |
@@ -19,7 +17,7 @@ exports.DocumentsTab = Montage.create(Component, { | |||
19 | enumerable: false, | 17 | enumerable: false, |
20 | value: function() { | 18 | value: function() { |
21 | // console.log("Change this to be inside the Ninja Reel"); | 19 | // console.log("Change this to be inside the Ninja Reel"); |
22 | this.openDocuments = documentManagerModule.DocumentController._documents; | 20 | this.openDocuments = this.application.ninja.documentController._documents; |
23 | // this.eventManager.addEventListener( "appLoaded", this, false); | 21 | // this.eventManager.addEventListener( "appLoaded", this, false); |
24 | } | 22 | } |
25 | }, | 23 | }, |