summaryrefslogtreecommitdiff
path: root/itjs/loader.js
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2007-09-05 16:00:35 +0000
committerThomas BrĂ¼derli2007-09-05 16:00:35 +0000
commitda11d93152ef0d6e562856029cb11b12f8b8b7d6 (patch)
tree8a92a0a072925095daa1bcc158194f5f2c51aa03 /itjs/loader.js
parent868bb08efbf29eff1fdea410451eef34cb3182c6 (diff)
downloaditools-da11d93152ef0d6e562856029cb11b12f8b8b7d6.tar.gz
itools-da11d93152ef0d6e562856029cb11b12f8b8b7d6.tar.bz2
itools-da11d93152ef0d6e562856029cb11b12f8b8b7d6.zip
Check for callback function first. Same effect as XMLHTTPRequest.abort()
Diffstat (limited to 'itjs/loader.js')
-rw-r--r--itjs/loader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs/loader.js b/itjs/loader.js
index 91f280d..6efdbee 100644
--- a/itjs/loader.js
+++ b/itjs/loader.js
@@ -116,7 +116,7 @@ load: function(baseurl, pos, num, query_volatile, retry)
}
else
{
- var req_url = baseurl + "&pos=" + pos + "&num=" + num + (query_volatile ? query_volatile : "") + (this.post_data ? '&' + this.post_data : "") + "&itjs_call=it_loader.__inst" + this.instance + ".dataReady&itjs_callid=" + ++this.callid;
+ var req_url = baseurl + "&pos=" + pos + "&num=" + num + (query_volatile ? query_volatile : "") + (this.post_data ? '&' + this.post_data : "") + "&itjs_call=it_loader.__inst" + this.instance + "&itjs_callid=" + ++this.callid;
if (window.opera && !window.XMLHttpRequest) // Opera 7 only works with iframes
{