From ada674e3d853c5f9bd43ab7682d8f312b34ea764 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Mon, 23 Nov 2009 17:12:07 +0000 Subject: [PATCH] Avoid flashplayer caching, for now --- net/systemeD/potlatch2/mapfeatures/MapFeatures.as | 2 +- resources/potlatch2.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/systemeD/potlatch2/mapfeatures/MapFeatures.as b/net/systemeD/potlatch2/mapfeatures/MapFeatures.as index 9a699acc..e3a00a71 100644 --- a/net/systemeD/potlatch2/mapfeatures/MapFeatures.as +++ b/net/systemeD/potlatch2/mapfeatures/MapFeatures.as @@ -29,7 +29,7 @@ package net.systemeD.potlatch2.mapfeatures { private var _categories:Array = null; protected function loadFeatures():void { - var request:URLRequest = new URLRequest("map_features.xml"); + var request:URLRequest = new URLRequest("map_features.xml?"+Math.random()); var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, onFeatureLoad); loader.load(request); diff --git a/resources/potlatch2.html b/resources/potlatch2.html index e31770a9..8cb1ad7d 100644 --- a/resources/potlatch2.html +++ b/resources/potlatch2.html @@ -27,7 +27,7 @@ fo.addVariable("oauth_consumer_key", "fiM1IoqnKJk4JCfcl63DA"); fo.addVariable("oauth_consumer_secret", "7fYgJK9M4vB1CvBZ6jEsPGxYK9UD1hEnI6NqTxNGs"); fo.addVariable("serverName", "api06 Test On Dev"); - fo.addVariable("style","potlatch.css"); + fo.addVariable("style","potlatch.css?d="+Math.round(Math.random()*1000)); fo.write("map"); -- 2.37.0