Browse Source

update store when changing component attributes

pull/187/head
Vlad Florescu 9 years ago
parent
commit
1ef52c4d7d
  1. 2
      src/editor/model/Editor.js

2
src/editor/model/Editor.js

@ -276,7 +276,7 @@ module.exports = Backbone.Model.extend({
this.stopListening(classes, 'add remove', this.componentsUpdated);
this.listenTo(classes, 'add remove', this.componentsUpdated);
var evn = 'change:style change:content';
var evn = 'change:style change:content change:attributes';
this.stopListening(model, evn, this.componentsUpdated);
this.listenTo(model, evn, this.componentsUpdated);

Loading…
Cancel
Save