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 0c87181c44f1b18d067b6c59cc5f790d998effa3..30251082cb45beb4636bd40ab50ed4ef5359ab59 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;