Set cache to false as default for script or json requests. Fixes 7578.
authorAnton M <haskell_noob-github@yahoo.de>
Fri, 19 Nov 2010 22:14:24 +0000 (23:14 +0100)
committerAnton M <haskell_noob-github@yahoo.de>
Fri, 19 Nov 2010 22:14:24 +0000 (23:14 +0100)
src/ajax.js

index d10b931..e82a082 100644 (file)
@@ -261,7 +261,7 @@ jQuery.extend({
                        };
                }
 
-               if ( s.dataType === "script" && s.cache === null ) {
+               if ( s.dataType === "script" && s.cache === undefined ) {
                        s.cache = false;
                }