Remember "no I don't want any background imagery" between sessions.
authorRichard Fairhurst <richard@systemeD.net>
Tue, 21 Jun 2011 14:59:38 +0000 (15:59 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Tue, 21 Jun 2011 14:59:38 +0000 (15:59 +0100)
net/systemeD/potlatch2/collections/Imagery.as

index 580017bde74b5eb0a679b38bfe7003a03d7017dd..b9a42aa5d9e58ac2f395247843d915bccf426e31 100644 (file)
@@ -52,7 +52,7 @@ package net.systemeD.potlatch2.collections {
                        var xml:XML = new XML(URLLoader(event.target).data);
                        var saved:Object = {};
                        var bg:Object;
-                       if (SharedObject.getLocal("user_state").data['background_url']) {
+                       if (SharedObject.getLocal("user_state").data['background_url']!=undefined) {
                                saved={ name: SharedObject.getLocal("user_state").data['background_name'],
                                                url:  SharedObject.getLocal("user_state").data['background_url' ] };
                        }