|
@ -1965,14 +1965,15 @@ |
|
|
|
|
|
|
|
|
save : function() { |
|
|
save : function() { |
|
|
|
|
|
|
|
|
if (timer === null) |
|
|
|
|
|
|
|
|
var _this = this; |
|
|
|
|
|
var state = this.state; |
|
|
|
|
|
var settings = this.settings; |
|
|
|
|
|
|
|
|
|
|
|
if (timer === null && !(!settings.watch && state.preview)) |
|
|
{ |
|
|
{ |
|
|
return this; |
|
|
return this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var _this = this; |
|
|
|
|
|
var state = this.state; |
|
|
|
|
|
var settings = this.settings; |
|
|
|
|
|
var cm = this.cm; |
|
|
var cm = this.cm; |
|
|
var cmValue = cm.getValue(); |
|
|
var cmValue = cm.getValue(); |
|
|
var previewContainer = this.previewContainer; |
|
|
var previewContainer = this.previewContainer; |
|
|