summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/prado
diff options
context:
space:
mode:
authorwei <>2006-10-21 03:48:15 +0000
committerwei <>2006-10-21 03:48:15 +0000
commit6f04d20048c55e3fc0ef1c0bd8b774bbe5bb84e3 (patch)
treea10a3739ee8c3f23239a79ffa342f72b298b8902 /framework/Web/Javascripts/prado
parentacb16fd5137538e72d86a5d0415a96556d88c609 (diff)
typo in queue
Diffstat (limited to 'framework/Web/Javascripts/prado')
-rw-r--r--framework/Web/Javascripts/prado/ajax3.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/framework/Web/Javascripts/prado/ajax3.js b/framework/Web/Javascripts/prado/ajax3.js
index d4221003..66b9a36a 100644
--- a/framework/Web/Javascripts/prado/ajax3.js
+++ b/framework/Web/Javascripts/prado/ajax3.js
@@ -124,7 +124,7 @@ Object.extend(Prado.CallbackRequest,
*/
currentRequest : null,
- requestQueque : [],
+ requestQueue : [],
/**
* Add ids of inputs element to post in the request.
@@ -309,10 +309,10 @@ Object.extend(Prado.CallbackRequest,
//abort if not ready.
if(inProgress.request.transport.readyState < 4)
inProgress.request.transport.abort();
- return self.dispatchQueque();
+ return self.dispatchQueue();
}
else
- return self.dispatchQueque();
+ return self.dispatchQueue();
},
/**
@@ -346,17 +346,17 @@ Object.extend(Prado.CallbackRequest,
if(self.currentRequest==null)
self.dispatchPriorityRequest(callback);
else
- self.requestQueque.push(callback);
- //Logger.info("current queque length="+self.requestQueque.length);
+ self.requestQueue.push(callback);
+ //Logger.info("current queque length="+self.requestQueue.length);
},
- dispatchQueque : function()
+ dispatchQueue : function()
{
var self = Prado.CallbackRequest;
- //Logger.info("dispatching queque, length="+self.requestQueque.length+" request="+self.currentRequest);
- if(self.requestQueque.length > 0)
+ //Logger.info("dispatching queque, length="+self.requestQueue.length+" request="+self.currentRequest);
+ if(self.requestQueue.length > 0)
{
- var callback = self.requestQueque.shift();
+ var callback = self.requestQueue.shift();
//Logger.info("do dispatch request");
return self.dispatchPriorityRequest(callback);
}
@@ -372,12 +372,12 @@ Object.extend(Prado.CallbackRequest,
else
{
var queque = [];
- self.requestQueque.each(function(callback)
+ self.requestQueue.each(function(callback)
{
if(callback.id != id)
queque.push(callback);
});
- self.requestQueque = queque;
+ self.requestQueue = queque;
}
}
})
@@ -547,7 +547,7 @@ Prado.CallbackRequest.prototype =
if(this.options.HasPriority)
{
- return Prado.CallbackRequest.enqueque(this);
+ return Prado.CallbackRequest.enqueue(this);
//return Prado.CallbackRequest.dispatchPriorityRequest(this);
}
else