don't barf on old saved data
authorRichard Fairhurst <richard@systemed.net>
Tue, 23 Nov 2010 19:22:17 +0000 (19:22 +0000)
committerRichard Fairhurst <richard@systemed.net>
Tue, 23 Nov 2010 19:22:17 +0000 (19:22 +0000)
potlatch2.mxml

index 0c87181..3025108 100644 (file)
                                saved={ name: SharedObject.getLocal("user_state").data['background_name'],
                                                url:  SharedObject.getLocal("user_state").data['background_url' ] };
                        } else {
-                               saved={};
+                               saved={ url: ''};
                        }
 
                        var isSet:Boolean=false;