Fixed major part of issue 459 by providing warning onbeforeunload when appropriate

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1473 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-03-26 17:51:41 +00:00
parent 687f532acb
commit 508c72e5a7
2 changed files with 24 additions and 1 deletions

View File

@@ -1320,6 +1320,10 @@ function BatchCommand(text) {
undoStack.push(cmd);
undoStackPointer = undoStack.length;
};
this.getHistoryPosition = function() {
return undoStackPointer;
};
// private functions
var getId = function() {