Update node when it's attributes are changed

This commit is contained in:
Trevor Parscal 2011-12-07 00:06:30 +00:00
parent b1f54c5ae5
commit 909b3674be

View file

@ -424,6 +424,8 @@ es.TransactionProcessor.prototype.attribute = function( op, invert ) {
} else {
throw 'Invalid method error. Can not operate attributes this way: ' + method;
}
var node = this.model.getNodeFromOffset( this.cursor + 1 );
node.emit( 'update' );
};
es.TransactionProcessor.prototype.mark = function( op, invert ) {