Fix indentation
authorRichard Fairhurst <richard@systemeD.net>
Sun, 5 Feb 2012 21:05:05 +0000 (21:05 +0000)
committerRichard Fairhurst <richard@systemeD.net>
Sun, 5 Feb 2012 21:05:05 +0000 (21:05 +0000)
net/systemeD/potlatch2/VectorSourceDialog.mxml

index 9013310..e2358ba 100644 (file)
 
                var connection:Connection = new Connection(name, url, null, null);
 
-                var filesLoaded:Function = function(success:Boolean,message:String=null):void {
-                        if (success) {
-                            var paint:MapPaint = map.addLayer(connection, stylesheet);
-                            paint.updateEntityUIs(false, false);
-                            dispatchEvent(new Event("layers_changed"));
-                        } else {
-                            Alert.show(message, 'Error', mx.controls.Alert.OK);
-                        }
-                }
+               var filesLoaded:Function = function(success:Boolean,message:String=null):void {
+                       if (success) {
+                               var paint:MapPaint = map.addLayer(connection, stylesheet);
+                               paint.updateEntityUIs(false, false);
+                               dispatchEvent(new Event("layers_changed"));
+                       } else {
+                               Alert.show(message, 'Error', mx.controls.Alert.OK);
+                       }
+               }
 
                if (type=='gpx') {
                        var gpx:GpxImporter=new GpxImporter(connection, map, [url], filesLoaded, simplify);