Add empty default option
authorJoey Schulze <joey@infodrom.org>
Fri, 12 Mar 2010 14:07:28 +0000 (15:07 +0100)
committerJoey Schulze <joey@infodrom.org>
Fri, 12 Mar 2010 14:07:28 +0000 (15:07 +0100)
masks/materialverbrauch.php

index 5c37f56..4e76f76 100644 (file)
@@ -138,6 +138,7 @@ $mask = array(
                                            'name' => 'Material',
                                            'type' => 'select',
                                            'options' => 'SELECT id,material AS text FROM materialien ORDER BY text',
                                            'name' => 'Material',
                                            'type' => 'select',
                                            'options' => 'SELECT id,material AS text FROM materialien ORDER BY text',
+                                           'option_empty' => 'Bitte w√§hlen Sie',
                                            'onchange' => 'select_material(this)',
                                            'sql' => false,
                                            ),
                                            'onchange' => 'select_material(this)',
                                            'sql' => false,
                                            ),