diff options
author | Jose Antonio Marquez Russo | 2012-02-18 19:40:43 -0800 |
---|---|---|
committer | Jose Antonio Marquez Russo | 2012-02-18 19:40:43 -0800 |
commit | c466bcf61351b50f678100ca14096f71a0a71bd0 (patch) | |
tree | 4ac283e0e7724e5ede21c1a1e97d121033578c72 /js/stage | |
parent | e23708721a71ca4c71365f5f8e8ac7d6113926db (diff) | |
parent | 8fdce771bfcf662cf1acc16d45e4361ffd06c53e (diff) | |
download | ninja-c466bcf61351b50f678100ca14096f71a0a71bd0.tar.gz |
Merge pull request #10 from ananyasen/FileIO
FileIO branch pull request
Diffstat (limited to 'js/stage')
-rwxr-xr-x | js/stage/stage-view.reel/stage-view.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js index 46d74e13..31f40d09 100755 --- a/js/stage/stage-view.reel/stage-view.js +++ b/js/stage/stage-view.reel/stage-view.js | |||
@@ -98,9 +98,9 @@ exports.StageView = Montage.create(Component, { | |||
98 | onChange: function(){ | 98 | onChange: function(){ |
99 | var historySize = doc.editor.historySize(); | 99 | var historySize = doc.editor.historySize(); |
100 | if(historySize.undo>0){ | 100 | if(historySize.undo>0){ |
101 | doc.dirtyFlag=true; | 101 | doc.markEdited(); |
102 | }else if(historySize.undo===0 && historySize.redo>0){ | 102 | }else if(historySize.undo===0 && historySize.redo>0){ |
103 | doc.dirtyFlag=false; | 103 | doc.markUnedited(); |
104 | } | 104 | } |
105 | }, | 105 | }, |
106 | onCursorActivity: function() { | 106 | onCursorActivity: function() { |