Skip to content
Browse files

JSCall delimiter

svn path=/trunk/aspeditor/; revision=50214
  • Loading branch information...
1 parent 91f5cef commit f8f7d3e4582f35760dfb8814697ef3bfc5286cd1 Blagovest Dachev committed Sep 19, 2005
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/jscall/AspNetEdit.JSCall/CommandManager.cs
  2. +2 −2 src/jscall/Resources/JSCall.js
View
2 src/jscall/AspNetEdit.JSCall/CommandManager.cs
@@ -98,7 +98,7 @@ public void JSCall (string function, string returnTo, params string[] args)
argsOut += args[0];
for (int i = 1; i <= args.Length - 1; i++)
{
- argsOut += "|" + args[i];
+ argsOut += (char)234 + args[i];
}
}
View
4 src/jscall/Resources/JSCall.js
@@ -29,6 +29,7 @@
*/
var JSCallFunctions;
+var delimiter = unescape ("%ea");
function JSCallInit()
{
@@ -61,7 +62,7 @@ function JSCallHandler(e)
if ( e.target.nodeName == "infunction" && e.target.nodeType == 1 ){
fn = e.target.attributes[0].value;
returnTo = e.target.attributes[1].value;
- args = e.target.attributes[2].value.split('|');
+ args = e.target.attributes[2].value.split(delimiter);
try {
if(JSCallFunctions[fn]) {
@@ -87,7 +88,6 @@ function JSCallHandler(e)
function JSCallPlaceClrCall(fn, returnTo, args) {
- var delimiter = unescape ("%ea");
str = "JSCall" + delimiter + fn + delimiter + returnTo + delimiter;
if (args && args.length > 0)

0 comments on commit f8f7d3e

Please sign in to comment.
Something went wrong with that request. Please try again.