Fix randomizeIds() to also add a nonce to the current document if not present
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1972 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -6360,9 +6360,9 @@ this.getSvgString = function() {
|
||||
//
|
||||
this.randomizeIds = function() {
|
||||
if (arguments.length > 0 && arguments[0] == false) {
|
||||
svgedit.draw.randomizeIds(false);
|
||||
svgedit.draw.randomizeIds(false, getCurrentDrawing());
|
||||
} else {
|
||||
svgedit.draw.randomizeIds(true);
|
||||
svgedit.draw.randomizeIds(true, getCurrentDrawing());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user