Refactor the connection loading of traces, to not reload every time.
[potlatch2.git] / net / systemeD / halcyon / connection / Connection.as
index dfc8aa085ec8b273796fb9fa4ab07348226ff398..a2bbc68b3a35d75e580e37523d8db4225f8713b4 100755 (executable)
@@ -97,6 +97,7 @@ package net.systemeD.halcyon.connection {
                public var waycount:int=0;
                public var relationcount:int=0;
         private var traces:Array = [];
+        protected var traces_loaded:Boolean = false;
 
         protected function get nextNegative():Number {
             return negativeID--;
@@ -363,7 +364,7 @@ package net.systemeD.halcyon.connection {
            public function createChangeset(tags:Object):void {}
                public function closeChangeset():void {}
            public function uploadChanges():void {}
-        public function fetchUserTraces():void {}
+        public function fetchUserTraces(refresh:Boolean=false):void {}
         public function fetchTrace(id:Number, callback:Function):void {}
     }