Set cache to false as default for script or json requests. Fixes 7578.

This commit is contained in:
Anton M 2010-11-19 23:14:24 +01:00
parent 0838bdf52c
commit 8259efe734

View file

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