Set focus to date field when adding a price
authorJoey Schulze <joey@infodrom.org>
Sun, 15 Jan 2012 10:07:37 +0000 (11:07 +0100)
committerJoey Schulze <joey@infodrom.org>
Sun, 15 Jan 2012 10:07:37 +0000 (11:07 +0100)
artikel.php

index 14766c4..45887c6 100644 (file)
@@ -47,6 +47,9 @@ function price_popup_open()
     artikel.value = form_id.value;
 
     price_popup.openPopup(100,300);
+
+    var datum = document.getElementById('form_datum');
+    datum.activate();
 }
 
 function open_popup()