diff options
author | Ananya Sen | 2012-02-02 00:52:44 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-02 00:52:44 -0800 |
commit | 8504b61aefb25fdab931f02c4568916d2bf8345c (patch) | |
tree | fa6c40e1462aef02fab1580ac01f4ec2bbc960bc /js/io/document/text-document.js | |
parent | fc4d32e0df064ecdbe7ed86aab25eeab58253032 (diff) | |
download | ninja-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/io/document/text-document.js')
-rwxr-xr-x | js/io/document/text-document.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/io/document/text-document.js b/js/io/document/text-document.js index 599d311c..a9081cb5 100755 --- a/js/io/document/text-document.js +++ b/js/io/document/text-document.js | |||
@@ -45,10 +45,10 @@ var TextDocument = exports.TextDocument = Montage.create(baseDocumentModule.Base | |||
45 | // PUBLIC METHODS | 45 | // PUBLIC METHODS |
46 | initialize: { | 46 | initialize: { |
47 | value: function(doc, uuid, textArea, callback) { | 47 | value: function(doc, uuid, textArea, callback) { |
48 | this.init(doc.name, doc.uri, doc.type, textArea, uuid); | 48 | this.init(doc.name, doc.uri, doc.type, textArea, uuid, null, doc.externalUri); |
49 | |||
50 | this.currentView = "code"; | 49 | this.currentView = "code"; |
51 | this.textArea = textArea; | 50 | this.textArea = textArea; |
51 | |||
52 | // this._loadContent(); | 52 | // this._loadContent(); |
53 | } | 53 | } |
54 | }, | 54 | }, |