cvs: qaweb /site_rough editor.php

From: Date: Tue, 19 Sep 2000 19:00:21 +0000
Subject: cvs: qaweb /site_rough editor.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-1322@lists.php.net to get a copy of this message
zak Tue Sep 19 12:00:21 2000 EDT Modified files: /qaweb/site_rough editor.php Log: Index: qaweb/site_rough/editor.php diff -u qaweb/site_rough/editor.php:1.6 qaweb/site_rough/editor.php:1.7 --- qaweb/site_rough/editor.php:1.6 Tue Sep 19 11:58:59 2000 +++ qaweb/site_rough/editor.php Tue Sep 19 12:00:21 2000 @@ -72,7 +72,7 @@ while (list ($id, $title) = @ mysql_fetch_row ($result)) $return .= sprintf ('<option value="%s"%s> - %s</option>'."\n", $id, $id == $selected_item ? ' SELECTED':'', htmlentities ($title)); - return '<select name="field[id]">' . $return . '</select>'; + return '<select name="field[id]" onChange="submit()">' . $return . '</select>'; }

« previous php.qa (#1322) next »