move stylesheets into dedicated directory
[potlatch2.git] / net / systemeD / potlatch2 / collections / Stylesheets.as
index 50c261450a2445457844c103c3f20a8d033ef92a..29c5038b593066488c81d39402191272dd18f8ee 100644 (file)
@@ -49,7 +49,7 @@ package net.systemeD.potlatch2.collections {
 
             // pick a stylesheet to be set. It should be the saved one, if it is in the menu
             // or alternatively the first one on the menu,
-            // or finally try 'potlatch.css'
+            // or finally try 'stylesheets/potlatch.css'
                        for each (var ss:Object in collection) {
                                if (ss.name==saved_nameĀ || ss.url==saved_url) {
                                        setStylesheet(ss.name, ss.url);
@@ -63,8 +63,8 @@ package net.systemeD.potlatch2.collections {
                 setStylesheet(s.name, s.url);
               } else {
                 //hit and hope. FIXME should this be an error state?
-                collection.push({ name:'Potlatch', url:'potlatch.css'});
-                setStylesheet('Potlatch','potlatch.css');
+                collection.push({ name:'Potlatch', url:'stylesheets/potlatch.css'});
+                setStylesheet('Potlatch','stylesheets/potlatch.css');
               }
             }
                        FunctionKeyManager.instance().registerListener('Map style',