move stylesheets into dedicated directory
[potlatch2.git] / net / systemeD / potlatch2 / VectorSourceDialog.mxml
index ea11ab44fa142caec7eca23163a14eea3ab9e837..776753a6907b46f0fe045d4da94807595ee1abb1 100644 (file)
 
        private function loadFiles(url:String,type:String,simplify:Boolean):void {
                var names:Array=url.split('/'); var name:String=names[names.length-1];
-               var stylesheet:String="potlatch.css";
-               if (type=='gpx') { stylesheet="gpx.css"; }
+               var stylesheet:String="stylesheets/potlatch.css";
+               if (type=='gpx') { stylesheet="stylesheets/gpx.css"; }
                var vectorlayer:VectorLayer=new VectorLayer(name,map,stylesheet);
                vectorlayer.url=url;