diff options
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() { |