summaryrefslogtreecommitdiff
path: root/lib/scripts/tw-sack.js
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2010-06-27 12:55:15 +0100
committerChristopher Smith <chris@jalakai.co.uk>2010-06-27 12:55:15 +0100
commitc5ef5f5975c46c88423b0a824f383173662eaba3 (patch)
treec1e86048fd1e073593da7199c338db387be0fd4a /lib/scripts/tw-sack.js
parent13ebcbe5742a0b5014e3c70a0d521332cbdcdf79 (diff)
parent4691241902c0cfa175d06bb454e9147e25b9b21a (diff)
downloadrpg-c5ef5f5975c46c88423b0a824f383173662eaba3.tar.gz
rpg-c5ef5f5975c46c88423b0a824f383173662eaba3.tar.bz2
Merge branch 'master' of git@github.com:splitbrain/dokuwiki
Diffstat (limited to 'lib/scripts/tw-sack.js')
-rw-r--r--lib/scripts/tw-sack.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/scripts/tw-sack.js b/lib/scripts/tw-sack.js
index cfcbe0ea9..b5a5c8861 100644
--- a/lib/scripts/tw-sack.js
+++ b/lib/scripts/tw-sack.js
@@ -10,6 +10,7 @@ function sack(file){
this.URLString = "";
this.encodeURIString = true;
this.execute = false;
+ this.asynchronous = true;
this.onLoading = function() { };
this.onLoaded = function() { };
@@ -86,9 +87,9 @@ function sack(file){
var self = this;
if (this.method == "GET") {
var totalurlstring = this.requestFile + "?" + this.URLString;
- this.xmlhttp.open(this.method, totalurlstring, true);
+ this.xmlhttp.open(this.method, totalurlstring, this.asynchronous);
} else {
- this.xmlhttp.open(this.method, this.requestFile, true);
+ this.xmlhttp.open(this.method, this.requestFile, this.asynchronous);
}
if (this.method == "POST"){
try {