mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-09 01:06:09 +00:00
Add global undo for graph
This commit is contained in:
@@ -175,6 +175,8 @@ TextEnumVertexsCustom.prototype.ShowDialog = function(callback, buttonText, titl
|
||||
var dialogButtons = {};
|
||||
app = this.app;
|
||||
dialogButtons[buttonText] = function() {
|
||||
app.PushToStack("RenameVertex");
|
||||
|
||||
callback(new TextEnumTitle(app, $("#VertexTitle").val()));
|
||||
$( this ).dialog( "close" );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user