summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r--framework/Web/Javascripts/js/compressed/prado.js4
-rw-r--r--framework/Web/Javascripts/js/debug/prado.js4
-rw-r--r--framework/Web/Javascripts/prado/element.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/framework/Web/Javascripts/js/compressed/prado.js b/framework/Web/Javascripts/js/compressed/prado.js
index f369a5f3..e2df8e08 100644
--- a/framework/Web/Javascripts/js/compressed/prado.js
+++ b/framework/Web/Javascripts/js/compressed/prado.js
@@ -281,9 +281,9 @@ setTimeout(function(){obj.focus();},100);return false;},replace:function(element
content=result;}
if(typeof(element)=="string")
{if($(element))
-method.toFunction().apply(this,[element,content]);}
+method.toFunction().apply(this,[element,""+content]);}
else
-{method.toFunction().apply(this,[content]);}},extractContent:function(text,boundary)
+{method.toFunction().apply(this,[""+content]);}},extractContent:function(text,boundary)
{f=RegExp('(<!--'+boundary+'-->)([\\s\\S\\w\\W]*)(<!--//'+boundary+'-->)',"m");result=text.match(f);if(result&&result.length>=2)
return result[2];else
return null;},evaluateScript:function(content)
diff --git a/framework/Web/Javascripts/js/debug/prado.js b/framework/Web/Javascripts/js/debug/prado.js
index 61b7f880..ca95bfbb 100644
--- a/framework/Web/Javascripts/js/debug/prado.js
+++ b/framework/Web/Javascripts/js/debug/prado.js
@@ -3013,11 +3013,11 @@ Prado.Element =
if(typeof(element) == "string")
{
if($(element))
- method.toFunction().apply(this,[element,content]);
+ method.toFunction().apply(this,[element,""+content]);
}
else
{
- method.toFunction().apply(this,[content]);
+ method.toFunction().apply(this,[""+content]);
}
},
diff --git a/framework/Web/Javascripts/prado/element.js b/framework/Web/Javascripts/prado/element.js
index 867bbec6..5691e804 100644
--- a/framework/Web/Javascripts/prado/element.js
+++ b/framework/Web/Javascripts/prado/element.js
@@ -85,11 +85,11 @@ Prado.Element =
if(typeof(element) == "string")
{
if($(element))
- method.toFunction().apply(this,[element,content]);
+ method.toFunction().apply(this,[element,""+content]);
}
else
{
- method.toFunction().apply(this,[content]);
+ method.toFunction().apply(this,[""+content]);
}
},