diff options
author | wei <> | 2006-12-23 00:22:48 +0000 |
---|---|---|
committer | wei <> | 2006-12-23 00:22:48 +0000 |
commit | 6b685cc4e496c5eabbb3e6415fb7fdf0474bf0f1 (patch) | |
tree | 7a5859c07da28454b894a3ca003fede8880da4e4 /framework | |
parent | 2c221ea67d0512961beea8fbcb30b23865c16bb0 (diff) |
add currency-converter tutorial
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/Javascripts/js/compressed/prado.js | 4 | ||||
-rw-r--r-- | framework/Web/Javascripts/js/debug/prado.js | 4 | ||||
-rw-r--r-- | framework/Web/Javascripts/prado/element.js | 4 |
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]);
}
},
|