diff options
author | wei <> | 2006-09-16 01:55:08 +0000 |
---|---|---|
committer | wei <> | 2006-09-16 01:55:08 +0000 |
commit | b2e7a7e14094bddc8f5060d97f259058c0555323 (patch) | |
tree | f564954ba4e76fa33043b8d616d02847644da19b /framework/Web/Javascripts/prado | |
parent | 18a642dd7389e215cdebd37b23e551ce17c1d977 (diff) |
Fixed #360
Diffstat (limited to 'framework/Web/Javascripts/prado')
-rw-r--r-- | framework/Web/Javascripts/prado/ajax3.js | 3 | ||||
-rw-r--r-- | framework/Web/Javascripts/prado/element.js | 4 |
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;
}
|