|
|
@ -371,9 +371,9 @@ define([ |
|
|
if(this.um) |
|
|
if(this.um) |
|
|
return; |
|
|
return; |
|
|
if(this.cmp && this.config.undoManager){ |
|
|
if(this.cmp && this.config.undoManager){ |
|
|
var that = this; |
|
|
var that = this; |
|
|
this.um = new Backbone.UndoManager({ |
|
|
this.um = new Backbone.UndoManager({ |
|
|
register: [this.cmp.getComponent().get('components')], |
|
|
register: [this.cmp.getComponents(), this.cssc.getRules()], |
|
|
track: true |
|
|
track: true |
|
|
}); |
|
|
}); |
|
|
this.UndoManager = this.um; |
|
|
this.UndoManager = this.um; |
|
|
|