diff options
author | Ananya Sen | 2012-02-27 17:39:26 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-27 17:39:26 -0800 |
commit | 2edcdd88ffc2f6ff0ea836e4da3e1fd2cb3e856f (patch) | |
tree | 18361c8889884ed9c4eb687182ac42afb0d0f13d /js/ninja.reel/ninja.js | |
parent | 51ed781953bc44bba3c70938aa57b856394cbc88 (diff) | |
download | ninja-2edcdd88ffc2f6ff0ea836e4da3e1fd2cb3e856f.tar.gz |
persist undo/redo stack per html document
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-x | js/ninja.reel/ninja.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 6efeef8a..ab9503ec 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -98,6 +98,9 @@ exports.Ninja = Montage.create(Component, { | |||
98 | if(this._appLoaded && this._preload) { | 98 | if(this._appLoaded && this._preload) { |
99 | // App is now deserialized and files are preloaded | 99 | // App is now deserialized and files are preloaded |
100 | this.appModel.materials = MaterialsLibrary.materials; | 100 | this.appModel.materials = MaterialsLibrary.materials; |
101 | |||
102 | this.currentDocument = null; | ||
103 | |||
101 | } | 104 | } |
102 | } | 105 | } |
103 | }, | 106 | }, |