projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
roojs-core.js
[roojs1]
/
Roo
/
UpdateManager.js
diff --git
a/Roo/UpdateManager.js
b/Roo/UpdateManager.js
index
59ef6bd
..
af73d09
100644
(file)
--- a/
Roo/UpdateManager.js
+++ b/
Roo/UpdateManager.js
@@
-189,7
+189,8
@@
um.update({<br/>
*/
update : function(url, params, callback, discardUrl){
if(this.fireEvent("beforeupdate", this.el, url, params) !== false){
*/
update : function(url, params, callback, discardUrl){
if(this.fireEvent("beforeupdate", this.el, url, params) !== false){
- var method = this.method, cfg;
+ var method = this.method,
+ cfg;
if(typeof url == "object"){ // must be config object
cfg = url;
url = cfg.url;
if(typeof url == "object"){ // must be config object
cfg = url;
url = cfg.url;
@@
-227,7
+228,7
@@
um.update({<br/>
timeout: (this.timeout*1000),
argument: {"url": url, "form": null, "callback": callback, "params": params}
});
timeout: (this.timeout*1000),
argument: {"url": url, "form": null, "callback": callback, "params": params}
});
-
+ Roo.log("updated manager called with timeout of " + o.timeout);
this.transaction = Roo.Ajax.request(o);
}
},
this.transaction = Roo.Ajax.request(o);
}
},