apparently people want to be able to save more than once. tsk
authorRichard Fairhurst <richard@systemed.net>
Wed, 16 Jun 2010 15:30:15 +0000 (15:30 +0000)
committerRichard Fairhurst <richard@systemed.net>
Wed, 16 Jun 2010 15:30:15 +0000 (15:30 +0000)
net/systemeD/halcyon/connection/XMLConnection.as

index 95fcb7d..a22bd4e 100644 (file)
@@ -122,8 +122,6 @@ package net.systemeD.halcyon.connection {
             upload.appendChild(addDeleted(changeset, getAllWayIDs, getWay, serialiseEntityRoot));
             upload.appendChild(addDeleted(changeset, getAllNodeIDs, getNode, serialiseEntityRoot));
 
-                       trace(upload);
-            
             // now actually upload them
             // make an OAuth query
             var sig:IOAuthSignatureMethod = new OAuthSignatureMethod_HMAC_SHA1();
@@ -178,7 +176,7 @@ package net.systemeD.halcyon.connection {
             }
 
                dispatchEvent(new SaveCompleteEvent(SAVE_COMPLETED, true));
-               dispatchEvent(new Event(DATA_CLEAN, true));
+               markClean();
         }
 
         private function diffUploadError(event:IOErrorEvent):void {