Index: trunk/extensions/VisualEditor/modules/ve/dm/ve.dm.DocumentSynchronizer.js |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | /** |
3 | 3 | * Creates an ve.dm.DocumentSynchronizer object. |
4 | 4 | * |
5 | | - * This object is a one-time use utilitiy for collecting actions to be performed on the model tree |
| 5 | + * This object is a utility for collecting actions to be performed on the model tree |
6 | 6 | * in multiple steps and then processing those actions in a single step. |
7 | 7 | * |
8 | 8 | * @class |
— | — | @@ -106,4 +106,7 @@ |
107 | 107 | break; |
108 | 108 | } |
109 | 109 | } |
| 110 | + |
| 111 | + // We've processed the queue, clear it |
| 112 | + this.actions = []; |
110 | 113 | }; |