Browse code

Schon beim tippen ändern, nicht erst beim Verlassen des Felds

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@898 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on25/01/2008 15:28:26
Showing1 changed files
... ...
@@ -112,7 +112,7 @@ foreach ($applist as $app)
112 112
 
113 113
 $form = "
114 114
 <h4 style=\"margin-top: 2em;\">Name des VHost</h4>
115
-    <div style=\"margin-left: 2em;\"><input type=\"text\" name=\"hostname\" id=\"hostname\" size=\"10\" value=\"{$vhost['hostname']}\" onchange=\"defaultDocumentRoot()\" /><strong>.</strong>".domainselect($vhost['domain_id'], 'onchange="defaultDocumentRoot()"');
115
+    <div style=\"margin-left: 2em;\"><input type=\"text\" name=\"hostname\" id=\"hostname\" size=\"10\" value=\"{$vhost['hostname']}\" onkeyup=\"defaultDocumentRoot()\"  onchange=\"defaultDocumentRoot()\" /><strong>.</strong>".domainselect($vhost['domain_id'], 'onchange="defaultDocumentRoot()"');
116 116
 $form .= "<br /><input type=\"checkbox\" name=\"options[]\" id=\"aliaswww\" value=\"aliaswww\" {$s}/> <label for=\"aliaswww\">Auch mit <strong>www</strong> davor.</label></div>
117 117
 
118 118
 <div class=\"vhostsidebyside\">