Alexander Nicolaysen Sørnes : appBundle: Add apps using 'Add' button instead of single-click
Module: appdb Branch: master Commit: f9e50695d185db22cb0532d61212275ef9ea6aba URL: http://source.winehq.org/git/appdb.git/?a=commit;h=f9e50695d185db22cb0532d61... Author: Alexander Nicolaysen Sørnes <alexander(a)linux-xqqm.(none)> Date: Tue Oct 27 22:01:45 2009 +0100 appBundle: Add apps using 'Add' button instead of single-click --- admin/editBundle.php | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/editBundle.php b/admin/editBundle.php index 68e5318..bbe38b7 100644 --- a/admin/editBundle.php +++ b/admin/editBundle.php @@ -10,7 +10,7 @@ function build_app_list() { $hResult = application::objectGetEntries('accepted'); - echo "<select name=iAppId size=5 onChange='this.form.submit()'>\n"; + echo "<select name=iAppId size=5'>\n"; while($oRow = query_fetch_object($hResult)) { echo "<option value=$oRow->appId>$oRow->appName</option>\n"; @@ -95,12 +95,13 @@ echo html_frame_end(); echo "<form method=post action=editBundle.php>\n"; -echo html_frame_start("Application List (double click to add)","",'',2); +echo html_frame_start("Application list","",'',2); build_app_list(); echo html_frame_end(); echo "<input type=\"hidden\" name=\"iBundleId\" value=\"".$aClean['iBundleId']."\">\n"; echo "<input type=\"hidden\" name=\"sCmd\" value=\"add\">\n"; +echo "<input type=\"submit\" value=\"Add\" />\n"; echo "</form>\n"; apidb_footer();
participants (1)
-
Alexander Nicolaysen Sørnes