aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout/documents-tab.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-14 11:07:21 -0800
committerValerio Virgillito2012-02-14 11:07:21 -0800
commitf060190a3bffd9a16718f2ce0499699103d46372 (patch)
treea308fe7eacec2156c8212dff0892a3de925d5f9a /js/components/layout/documents-tab.reel
parentf766cc203f30ea43ae8b83cf4b65d45cc4435ee9 (diff)
parent33bc9d62b8e6694500bf14d5b18187bd99a520a3 (diff)
downloadninja-f060190a3bffd9a16718f2ce0499699103d46372.tar.gz
Merge branch 'FileIO' of https://github.com/joseeight/ninja-internal into integration
Diffstat (limited to 'js/components/layout/documents-tab.reel')
-rwxr-xr-x[-rw-r--r--]js/components/layout/documents-tab.reel/documents-tab.css0
-rwxr-xr-x[-rw-r--r--]js/components/layout/documents-tab.reel/documents-tab.html5
-rwxr-xr-x[-rw-r--r--]js/components/layout/documents-tab.reel/documents-tab.js4
3 files changed, 6 insertions, 3 deletions
diff --git a/js/components/layout/documents-tab.reel/documents-tab.css b/js/components/layout/documents-tab.reel/documents-tab.css
index 689eb777..689eb777 100644..100755
--- a/js/components/layout/documents-tab.reel/documents-tab.css
+++ b/js/components/layout/documents-tab.reel/documents-tab.css
diff --git a/js/components/layout/documents-tab.reel/documents-tab.html b/js/components/layout/documents-tab.reel/documents-tab.html
index 94b2e46e..82ba8782 100644..100755
--- a/js/components/layout/documents-tab.reel/documents-tab.html
+++ b/js/components/layout/documents-tab.reel/documents-tab.html
@@ -38,6 +38,11 @@
38 "boundObjectPropertyPath": "objectAtCurrentIteration.name", 38 "boundObjectPropertyPath": "objectAtCurrentIteration.name",
39 "oneway": true 39 "oneway": true
40 }, 40 },
41 "dirtyFlag": {
42 "boundObject": {"@": "repetition1"},
43 "boundObjectPropertyPath": "objectAtCurrentIteration.dirtyFlag",
44 "oneway": true
45 },
41 "active": { 46 "active": {
42 "boundObject": {"@": "repetition1"}, 47 "boundObject": {"@": "repetition1"},
43 "boundObjectPropertyPath": "objectAtCurrentIteration.isActive", 48 "boundObjectPropertyPath": "objectAtCurrentIteration.isActive",
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
7var Montage = require("montage/core/core").Montage; 7var Montage = require("montage/core/core").Montage;
8var Component = require("montage/ui/component").Component; 8var Component = require("montage/ui/component").Component;
9 9
10var documentManagerModule = require("js/io/document/document-controller");
11
12exports.DocumentsTab = Montage.create(Component, { 10exports.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 },