diff --git a/VERSIONS_HOTLINE/91613 b/VERSIONS_HOTLINE/91613 new file mode 100644 index 0000000000000000000000000000000000000000..6fedd854fd5859e84d45c09769494c69002222ee --- /dev/null +++ b/VERSIONS_HOTLINE/91613 @@ -0,0 +1 @@ + - ticket #91613 : L'éditeur CSS force l'invalidation du cache navigateur pour avoir la dernière version \ No newline at end of file diff --git a/amber/afi/js/AFI-OPAC.deploy.js b/amber/afi/js/AFI-OPAC.deploy.js index 4aab97324d6f8acf4504870ca095dcfadef9fae6..11808fe26e6619db86f1834a5de51b037ec5f146 100755 --- a/amber/afi/js/AFI-OPAC.deploy.js +++ b/amber/afi/js/AFI-OPAC.deploy.js @@ -59,7 +59,8 @@ self["@cssUrl"]=smalltalk.send(linkTag,"_attr_",["data-url"]); if(($receiver = self["@cssUrl"]) == nil || $receiver == undefined){ $1=self["@cssUrl"]; } else { -$1=smalltalk.send(smalltalk.send(self["@cssUrl"],"__comma",["?"]),"__comma",[smalltalk.send(smalltalk.send((smalltalk.Date || Date),"_now",[]),"_asMilliseconds",[])]); +self["@cssUrl"]=smalltalk.send(smalltalk.send(self["@cssUrl"],"__comma",["?dt="]),"__comma",[smalltalk.send(smalltalk.send((smalltalk.Date || Date),"_now",[]),"_asMilliseconds",[])]); +$1=self["@cssUrl"]; }; return $1; } diff --git a/amber/afi/js/AFI-OPAC.js b/amber/afi/js/AFI-OPAC.js index 284dbda5ca42d6aae24c28974f904bfe56a120af..36989847af425acc559be00ff10ebaf91367a9bd 100755 --- a/amber/afi/js/AFI-OPAC.js +++ b/amber/afi/js/AFI-OPAC.js @@ -75,12 +75,13 @@ self["@cssUrl"]=smalltalk.send(linkTag,"_attr_",["data-url"]); if(($receiver = self["@cssUrl"]) == nil || $receiver == undefined){ $1=self["@cssUrl"]; } else { -$1=smalltalk.send(smalltalk.send(self["@cssUrl"],"__comma",["?"]),"__comma",[smalltalk.send(smalltalk.send((smalltalk.Date || Date),"_now",[]),"_asMilliseconds",[])]); +self["@cssUrl"]=smalltalk.send(smalltalk.send(self["@cssUrl"],"__comma",["?dt="]),"__comma",[smalltalk.send(smalltalk.send((smalltalk.Date || Date),"_now",[]),"_asMilliseconds",[])]); +$1=self["@cssUrl"]; }; return $1; }, args: [], -source: "cssUrl\x0a\x09|linkTag|\x0a\x09linkTag := (window jQuery: '#profil_css').\x0a cssUrl := linkTag attr: 'data-url'.\x09\x0a ^ cssUrl ifNotNil: [cssUrl, '?', Date now asMilliseconds ] ", +source: "cssUrl\x0a\x09|linkTag|\x0a\x09linkTag := (window jQuery: '#profil_css').\x0a cssUrl := linkTag attr: 'data-url'.\x09\x0a ^ cssUrl ifNotNil: [cssUrl := cssUrl, '?dt=', Date now asMilliseconds ] ", messageSends: ["jQuery:", "attr:", "ifNotNil:", ",", "asMilliseconds", "now"], referencedClasses: ["Date"] }), diff --git a/amber/afi/st/AFI-OPAC.st b/amber/afi/st/AFI-OPAC.st index 7ab7838acb98dda68dec42c7cd4891d75f9e056e..c5e69ea7b81b78019f7498a3d0358df99b9eaa37 100755 --- a/amber/afi/st/AFI-OPAC.st +++ b/amber/afi/st/AFI-OPAC.st @@ -17,7 +17,7 @@ cssUrl |linkTag| linkTag := (window jQuery: '#profil_css'). cssUrl := linkTag attr: 'data-url'. - ^ cssUrl ifNotNil: [cssUrl, '?', Date now asMilliseconds ] + ^ cssUrl ifNotNil: [cssUrl := cssUrl, '?dt=', Date now asMilliseconds ] ! label