diff options
author | Ananya Sen | 2012-02-24 15:30:55 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-24 15:30:55 -0800 |
commit | b056b4bef5982466d80d72e5cbb31e63087990e1 (patch) | |
tree | 30f95ff34a3664eed8d036ec57627647c660390a /js/controllers | |
parent | 85d59d57ea556b114c5cad9b2ec67ccc27119380 (diff) | |
download | ninja-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-x | js/controllers/document-controller.js | 4 |
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 | ||