summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/prado
diff options
context:
space:
mode:
authorwei <>2006-09-16 01:55:08 +0000
committerwei <>2006-09-16 01:55:08 +0000
commitb2e7a7e14094bddc8f5060d97f259058c0555323 (patch)
treef564954ba4e76fa33043b8d616d02847644da19b /framework/Web/Javascripts/prado
parent18a642dd7389e215cdebd37b23e551ce17c1d977 (diff)
Fixed #360
Diffstat (limited to 'framework/Web/Javascripts/prado')
-rw-r--r--framework/Web/Javascripts/prado/ajax3.js3
-rw-r--r--framework/Web/Javascripts/prado/element.js4
2 files changed, 4 insertions, 3 deletions
diff --git a/framework/Web/Javascripts/prado/ajax3.js b/framework/Web/Javascripts/prado/ajax3.js
index 397382f3..6a304caa 100644
--- a/framework/Web/Javascripts/prado/ajax3.js
+++ b/framework/Web/Javascripts/prado/ajax3.js
@@ -143,11 +143,12 @@ Object.extend(Prado.CallbackRequest,
*/
__run : function(transport, command)
{
+ this.trasport = transport;
for(var method in command)
{
try
{
- method.toFunction().apply(this,command[method].concat(transport));
+ method.toFunction().apply(this,command[method]);
}
catch(e)
{
diff --git a/framework/Web/Javascripts/prado/element.js b/framework/Web/Javascripts/prado/element.js
index d234e71b..867bbec6 100644
--- a/framework/Web/Javascripts/prado/element.js
+++ b/framework/Web/Javascripts/prado/element.js
@@ -74,11 +74,11 @@ Prado.Element =
return false;
},
- replace : function(element, method, content, boundary, transport)
+ replace : function(element, method, content, boundary)
{
if(boundary)
{
- result = Prado.Element.extractContent(transport.responseText, boundary);
+ result = Prado.Element.extractContent(this.transport.responseText, boundary);
if(result != null)
content = result;
}