Monotone-Parent: 075df52db5284515c4b7994dd7a105a4399e3e3d

Monotone-Revision: a8c0400b04fbc2c00e24cc29fcf280e2ec140c4b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-06-15T22:19:26
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-06-15 22:19:26 +00:00
parent 6b16baa457
commit 1c5e6affb9
1 changed files with 2 additions and 3 deletions

View File

@ -9,9 +9,10 @@
| Updated: 17.04.2003 |
|--------------------------------------------------*/
/* The content of attribute values should be quoted properly by using the
equivalent entities. */
function dTreeQuote(str) {
return (str
.replace(/\\/g, "\\\\")
.replace(/\"/g, """)
.replace(/\'/g, "'"));
}
@ -109,7 +110,6 @@ dTree.prototype = {
// Outputs the tree to the page
toString: function() {
log("toString invoked");
var str = '<div class="dtree" id="' + this.obj + '">\n';
if (document.getElementById) {
if (this.config.useCookies)
@ -122,7 +122,6 @@ dTree.prototype = {
return str;
},
valueOf: function() {
log("valueOf invoked");
return this.toString();
},