Merge remote-tracking branch 'gravitystorm/mygpx'
[potlatch2.git] / net / systemeD / halcyon / connection / XMLConnection.as
index 2cd5f0958c2b210f8dc1778fa9d4fd53235307d6..30aef5e757b43fdc5f31c30a807ded7bff1e3c6e 100644 (file)
@@ -489,8 +489,13 @@ package net.systemeD.halcyon.connection {
                                function(e:Event):void { 
                        dispatchEvent(new Event(LOAD_COMPLETED));
                                        callback(e);
-                               }, errorOnMapLoad, mapLoadStatus); // needs error handlers
+                               }, errorOnTraceLoad, mapLoadStatus); // needs error handlers
             dispatchEvent(new Event(LOAD_STARTED)); //specifc to map or reusable?
         }
+
+        private function errorOnTraceLoad(event:Event):void {
+            trace("Trace load error");
+            dispatchEvent(new Event(LOAD_COMPLETED));
+        }
        }
 }