|
From: Jon O. <jon...@us...> - 2006-09-17 20:16:01
|
Update of /cvsroot/mxbb/mx_simpledoc/simpledoc/shared/DynamicTree In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv32089/modules/mx_simpledoc/simpledoc/shared/DynamicTree Modified Files: DynamicTree.js Log Message: My god, this module is advanced... Index: DynamicTree.js =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/simpledoc/shared/DynamicTree/DynamicTree.js,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DynamicTree.js 17 Sep 2006 14:39:24 -0000 1.2 --- DynamicTree.js 17 Sep 2006 20:15:57 -0000 1.3 *************** *** 245,249 **** }; this.createNode = function(id, text, type) { ! alert(id + ' ' + text); if (!id || findNode(id) || !text || (type != "doc" && type != "folder")) { throw this.id+'.createNode("'+id+'", "'+text+'", "'+type+'") failed, illegal action'; --- 245,249 ---- }; this.createNode = function(id, text, type) { ! id = unescape(id); if (!id || findNode(id) || !text || (type != "doc" && type != "folder")) { throw this.id+'.createNode("'+id+'", "'+text+'", "'+type+'") failed, illegal action'; |