aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorAnanya Sen2012-02-24 15:30:55 -0800
committerAnanya Sen2012-02-24 15:30:55 -0800
commitb056b4bef5982466d80d72e5cbb31e63087990e1 (patch)
tree30f95ff34a3664eed8d036ec57627647c660390a /js/controllers
parent85d59d57ea556b114c5cad9b2ec67ccc27119380 (diff)
downloadninja-b056b4bef5982466d80d72e5cbb31e63087990e1.tar.gz
- added closeDocument event for timeline
- minor bug fixes Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/document-controller.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index 714d1404..02031922 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -338,6 +338,10 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
338 338
339 this.application.ninja.stage.hideCanvas(true); 339 this.application.ninja.stage.hideCanvas(true);
340 } 340 }
341
342 NJevent("closeDocument", doc.uri);
343
344 doc=null;
341 } 345 }
342 }, 346 },
343 347