force post for IE to prevent caching
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Jun 2006 17:20:49 +0000 (17:20 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Jun 2006 17:20:49 +0000 (17:20 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@4747 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/common/js/RemoteRequest.js

index 30e2f9b..43548ae 100644 (file)
@@ -211,7 +211,13 @@ RemoteRequest.prototype.send = function(blocking) {
 
        /* this number could be a lot higher.. */
        var whole = url + this.param_string + 1;
-       if( whole.length < 256 ) this.type = 'GET';
+
+
+       if(!IE) {
+               /* IE will cache this, so don't use it if IE.
+               useful for debugging */
+               if( whole.length < 256 ) this.type = 'GET';
+       }
 
        var data = null;
        if( this.type == 'GET' ) url +=  "?" + this.param_string;