diff options
author | andi <andi@splitbrain.org> | 2005-06-04 20:51:43 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-06-04 20:51:43 +0200 |
commit | 7851a544357920b3ec9f4386ece8a6306f8fe51c (patch) | |
tree | ce5867debc803523b0346c03a7d843d98a7471f4 /tw-sack.js | |
parent | 789d04709fbbcd0dbddb1501c1fcf3c433eaaea4 (diff) | |
download | rpg-7851a544357920b3ec9f4386ece8a6306f8fe51c.tar.gz rpg-7851a544357920b3ec9f4386ece8a6306f8fe51c.tar.bz2 |
removed SACK warning for older browsers #369
Older Browsers (Opera) got a warning from the new AJAX stuff. It's a bug
in SACK described at
http://twilightuniverse.com/2005/05/sack-of-ajax/#comment-594
I just removed it from tw-sack.js
I also added the line suggested at
http://twilightuniverse.com/2005/05/sack-of-ajax/#comment-597 - not
used yet but may come in handy
darcs-hash:20050604185143-9977f-921b8c8ad4f11a867b8c2df26c37158cc7368608.gz
Diffstat (limited to 'tw-sack.js')
-rw-r--r-- | tw-sack.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tw-sack.js b/tw-sack.js index 42e9322ed..3f19a04c6 100644 --- a/tw-sack.js +++ b/tw-sack.js @@ -76,6 +76,7 @@ function sack(file){ break; case 4: // Completed. self.response = self.xmlhttp.responseText + self.responseXML = self.xmlhttp.responseXML; self.onCompletion(); if(self.execute){ self.runResponse(); } if (self.elementObj) { @@ -87,5 +88,5 @@ function sack(file){ } }; this.createAJAX(); -if(this.failed && this.AjaxFailedAlert){ alert(this.AjaxFailedAlert); } +//if(this.failed && this.AjaxFailedAlert){ alert(this.AjaxFailedAlert); } } |