Provide a new 'View data' button in the upload dialogue.
[potlatch2.git] / potlatch2.mxml
index d439af3..9ad7000 100644 (file)
 
             theController = new EditController(theMap, tagViewer, toolbox);
             theController.setActive();
+                       theController.addEventListener(AttentionEvent.ATTENTION, onAttention);
+                       theController.addEventListener(AttentionEvent.ALERT, onAlert);
             
             // set the access token from saved cookie
             var tokenObject:SharedObject = SharedObject.getLocal("access_token");