Trying to replace the prefix with a mechanism for using a callback for the id; wave.Participant() shouldn't work - Participant() is the constructor for the Participant objects returned from getViewer() etc.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@127 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -42,6 +42,7 @@ function SvgCanvas(c)
|
||||
|
||||
// private functions
|
||||
var getId = function() {
|
||||
if (events["getid"]) return call("getid",obj_num);
|
||||
return idprefix+obj_num;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user