includes/clientside/static/admin-menu.js
changeset 582 a38876c0793c
parent 561 e53cf8b1d942
child 651 ce9d78d7251d
--- a/includes/clientside/static/admin-menu.js	Sun Jun 22 18:13:59 2008 -0400
+++ b/includes/clientside/static/admin-menu.js	Tue Jun 24 23:37:23 2008 -0400
@@ -212,15 +212,14 @@
 	return this.o_root.a_tpl['icon_' + ((this.n_depth ? 0 : 32) + (this.a_children.length ? 16 : 0) + (this.a_children.length && this.b_opened ? 8 : 0) + (!b_junction && this.o_root.o_selected == this ? 4 : 0) + (b_junction ? 2 : 0) + (b_junction && this.is_last() ? 1 : 0))];
 }
 
-function addslashes (text) {
-  text = text.replace(/\\/g, '\\\\');
-  text = text.replace(/"/g, '\\"');
-  return text;
-}
-
 var trees = [];
 get_element = document.all ?
 	function (s_id) { return document.all[s_id] } :
 	function (s_id) { return document.getElementById(s_id) };
 
-
+function addslashes(text)
+{
+  text = text.replace(/\\/g, '\\\\');
+  text = text.replace(/"/g, '\\"');
+  return text;
+}