From 7851a544357920b3ec9f4386ece8a6306f8fe51c Mon Sep 17 00:00:00 2001 From: andi Date: Sat, 4 Jun 2005 20:51:43 +0200 Subject: 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 --- tw-sack.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tw-sack.js') 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); } } -- cgit v1.2.3