automatically select comment TextField on clicking 'save'
authorRichard Fairhurst <richard@systemed.net>
Sat, 4 Dec 2010 22:05:26 +0000 (22:05 +0000)
committerRichard Fairhurst <richard@systemed.net>
Sat, 4 Dec 2010 22:05:26 +0000 (22:05 +0000)
net/systemeD/potlatch2/save/SaveDialog.mxml

index 2f4a994..c175e32 100644 (file)
@@ -13,7 +13,7 @@
   </mx:ArrayCollection>
   
   <mx:ViewStack id="processSequence" width="100%" height="100%" 
-      creationPolicy="all" creationComplete="if (doSkip) skipInput();">
+      creationPolicy="all" creationComplete="if (doSkip) skipInput() else comment.setFocus()">
   
     <!-- section for entering tags -->
     <mx:VBox width="100%" height="100%" verticalGap="0">