Skip to content
Snippets Groups Projects
Commit 7851a544 authored by andi's avatar andi
Browse files

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
parent 789d0470
No related branches found
No related tags found
No related merge requests found
......@@ -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); }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment