summaryrefslogtreecommitdiff
path: root/lib/scripts/tw-sack.js
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2010-06-27 12:41:51 +0100
committerAnika Henke <anika@selfthinker.org>2010-06-27 12:41:51 +0100
commit4691241902c0cfa175d06bb454e9147e25b9b21a (patch)
tree8de76d065cd745b5ea4b79ee4e4e234d57fc083d /lib/scripts/tw-sack.js
parenta8574918a3bd65683f0a2de4a3f26dd0ec2c410f (diff)
parentde3427dbc88f1a060e6557d79da3a9bafb9a6039 (diff)
downloadrpg-4691241902c0cfa175d06bb454e9147e25b9b21a.tar.gz
rpg-4691241902c0cfa175d06bb454e9147e25b9b21a.tar.bz2
Merge branch 'master' of 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 {