aboutsummaryrefslogtreecommitdiff
path: root/js/components
diff options
context:
space:
mode:
authorAnanya Sen2012-02-02 00:52:44 -0800
committerAnanya Sen2012-02-02 00:52:44 -0800
commit8504b61aefb25fdab931f02c4568916d2bf8345c (patch)
treefa6c40e1462aef02fab1580ac01f4ec2bbc960bc /js/components
parentfc4d32e0df064ecdbe7ed86aab25eeab58253032 (diff)
downloadninja-8504b61aefb25fdab931f02c4568916d2bf8345c.tar.gz
changes to open multiple code view tabs and switch between the code views, added nj-skinned css class for the buttons in file picker, new file dialog and save as dialog
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/components')
-rwxr-xr-xjs/components/layout/documents-tab.reel/documents-tab.js4
-rwxr-xr-xjs/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.html4
2 files changed, 3 insertions, 5 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 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 },
diff --git a/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.html b/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.html
index b4aee4b2..b5da0e6e 100755
--- a/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.html
+++ b/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.html
@@ -97,8 +97,8 @@
97 <div id="right-bottom" class="right-bottom"></div> 97 <div id="right-bottom" class="right-bottom"></div>
98 </div> 98 </div>
99 <div class="buttons"> 99 <div class="buttons">
100 <input id="cancelButton" type="button" value="CANCEL" class="cancelButton" /> 100 <input id="cancelButton" type="button" value="CANCEL" class="cancelButton nj-skinned" />
101 <input id="okButton" disabled="true" type="button" value="OK" class="okButton" /> 101 <input id="okButton" disabled="true" type="button" value="OK" class="okButton nj-skinned" />
102 </div> 102 </div>
103 <div id="filters" class="filters" style="display:block;"> 103 <div id="filters" class="filters" style="display:block;">
104 <div class="dropdown hide"></div> 104 <div class="dropdown hide"></div>