Esanders has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/250033

Change subject: VE: Clear Ace's undo manager after setting initial value
......................................................................

VE: Clear Ace's undo manager after setting initial value

Depends on Ia331acc41 in ve-mw.

Change-Id: I1ed8bdd6b7aad8c83855e35c747b17519c1cf39e
---
M modules/ve-graph/ve.ui.MWGraphDialog.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Graph 
refs/changes/33/250033/1

diff --git a/modules/ve-graph/ve.ui.MWGraphDialog.js 
b/modules/ve-graph/ve.ui.MWGraphDialog.js
index 2b0add1..66433bb 100644
--- a/modules/ve-graph/ve.ui.MWGraphDialog.js
+++ b/modules/ve-graph/ve.ui.MWGraphDialog.js
@@ -330,7 +330,7 @@
        this.updateDataPage();
 
        // JSON text input
-       this.jsonTextInput.setValue( this.graphModel.getSpecString() );
+       this.jsonTextInput.setValue( this.graphModel.getSpecString() 
).clearUndoStack();
 };
 
 /**

-- 
To view, visit https://gerrit.wikimedia.org/r/250033
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ed8bdd6b7aad8c83855e35c747b17519c1cf39e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Graph
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to