]> source.dussan.org Git - jquery.git/commitdiff
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 d10b9311293d18614e7e3782f996122282b18fe7..e82a082992ac976c798b4af3fab5938420ba0aea 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;
                }