[interchange] Change UrlJoiner variable call to work if it is set, or substitute

Mike Heins <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit 46c10ac85e7b542bfb814fbbf8793907acc4e13b
Author: Mike Heins <[email protected]>
Date:   Sat Mar 5 09:45:05 2011 -0500

    Change UrlJoiner variable call to work if it is set, or substitute
    the default & if not.

 dist/lib/UI/pages/admin/menu_editor.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/dist/lib/UI/pages/admin/menu_editor.html b/dist/lib/UI/pages/admin/menu_editor.html
index eccc131..b6d3405 100644
--- a/dist/lib/UI/pages/admin/menu_editor.html
+++ b/dist/lib/UI/pages/admin/menu_editor.html
@@ -798,7 +798,7 @@ function escapeParams (parms) {
 	parms = parms.replace(/=/g, "-_EQUAL_X_-");
 	parms = parms.replace(/\n/g, "-_NEWLINE_X_-");
 	parms = escape(parms);
-	parms = parms.replace(/-_NEWLINE_X_-/g, '&');
+	parms = parms.replace(/-_NEWLINE_X_-/g, '[either]@@UrlJoiner@@[or]&[/either]');
 	parms = parms.replace(/-_EQUAL_X_-/g, '=');
 	// alert("parms=" + parms);
 	return parms;
@@ -807,7 +807,7 @@ function escapeParams (parms) {
 function unescapeParams (parms) {
 	// alert("parms=" + parms);
 	parms = parms.replace(/=/g, "-_EQUAL_X_-");
-	parms = parms.replace(/&/g, "-_NEWLINE_X_-");
+	parms = parms.replace(/[either]@@UrlJoiner@@[or]&[/either]/g, "-_NEWLINE_X_-");
 	parms = unescape(parms);
 	parms = parms.replace(/-_NEWLINE_X_-/g, "\n");
 	parms = parms.replace(/-_EQUAL_X_-/g, '=');
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.