aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-xjs/ninja.reel/ninja.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index 3659f1f8..987c32fd 100755
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -322,6 +322,14 @@ exports.Ninja = Montage.create(Component, {
322 } 322 }
323 }, 323 },
324 324
325 closeFile: {
326 value: function(document) {
327 var doc = this.documentList.content[this.documentList.content.indexOf(document)];
328
329 this.documentList.removeObjects(doc);
330 }
331 },
332
325 handleOnSwitchDocument: { 333 handleOnSwitchDocument: {
326 value: function() { 334 value: function() {
327 this.currentDocument = this.documentController.activeDocument; 335 this.currentDocument = this.documentController.activeDocument;