summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/js/debug
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/js/debug
parent18a642dd7389e215cdebd37b23e551ce17c1d977 (diff)
Fixed #360
Diffstat (limited to 'framework/Web/Javascripts/js/debug')
-rw-r--r--framework/Web/Javascripts/js/debug/ajax.js3
-rw-r--r--framework/Web/Javascripts/js/debug/prado.js9
2 files changed, 7 insertions, 5 deletions
diff --git a/framework/Web/Javascripts/js/debug/ajax.js b/framework/Web/Javascripts/js/debug/ajax.js
index 9835e7e8..8359309f 100644
--- a/framework/Web/Javascripts/js/debug/ajax.js
+++ b/framework/Web/Javascripts/js/debug/ajax.js
@@ -431,11 +431,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/js/debug/prado.js b/framework/Web/Javascripts/js/debug/prado.js
index c890ccdb..122a5640 100644
--- a/framework/Web/Javascripts/js/debug/prado.js
+++ b/framework/Web/Javascripts/js/debug/prado.js
@@ -599,7 +599,8 @@ Template.prototype = {
/**
* @class String extensions
*/
-Object.extend(String.prototype, {
+Object.extend(String.prototype,
+{
/**
* @param {String} "left" to pad the string on the left, "right" to pad right.
* @param {Number} minimum string length.
@@ -2660,7 +2661,7 @@ Object.extend(Date,
var Prado =
{
- Version: '3.0.0',
+ Version: '3.1',
/**
* Returns browser information. Example
@@ -3000,11 +3001,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;
}