Index: trunk/extensions/VisualEditor/modules/es/bases/es.DocumentViewBranchNode.js |
— | — | @@ -55,7 +55,6 @@ |
56 | 56 | } |
57 | 57 | this.emit( 'afterPush', childView ); |
58 | 58 | this.emit( 'update' ); |
59 | | - this.renderContent(); |
60 | 59 | }; |
61 | 60 | |
62 | 61 | es.DocumentViewBranchNode.prototype.onAfterUnshift = function( childModel ) { |
— | — | @@ -69,7 +68,6 @@ |
70 | 69 | this.$.prepend( childView.$ ); |
71 | 70 | this.emit( 'afterUnshift', childView ); |
72 | 71 | this.emit( 'update' ); |
73 | | - childView.renderContent(); |
74 | 72 | }; |
75 | 73 | |
76 | 74 | es.DocumentViewBranchNode.prototype.onAfterPop = function() { |
— | — | @@ -133,9 +131,10 @@ |
134 | 132 | this.emit.apply( this, ['afterSplice'].concat( args ) ); |
135 | 133 | if ( args.length >= 3 ) { |
136 | 134 | for ( i = 2, length = args.length; i < length; i++ ) { |
137 | | - args[i] = args[i].renderContent(); |
| 135 | + args[i].renderContent(); |
138 | 136 | } |
139 | 137 | } |
| 138 | + this.emit( 'update' ); |
140 | 139 | }; |
141 | 140 | |
142 | 141 | es.DocumentViewBranchNode.prototype.onAfterSort = function() { |