Skip to content

Commit

Permalink
Added Javascript auto-submit to project-switch menu (top right of vie…
Browse files Browse the repository at this point in the history
…w all page) (and fixed my tabbing blunder)

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1150 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
scoates committed Jun 22, 2002
1 parent b082cb5 commit 5ed5051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core_html_API.php
Expand Up @@ -236,9 +236,9 @@ function print_login_info() {
PRINT '<form method="post" name="form_set_project" action="set_project.php">';

if ( ON == $g_use_javascript) { // use javascript auto-submit -SC 2002.Jun.21
PRINT '<select name="f_project_id" class="small" onchange="document.forms.form_set_project.submit();">';
PRINT '<select name="f_project_id" class="small" onchange="document.forms.form_set_project.submit();">';
} else {
PRINT '<select name="f_project_id" class="small">';
PRINT '<select name="f_project_id" class="small">';
}
PRINT "<option value=\"0000000\">$s_all_projects</option>";
print_project_option_list( $g_project_cookie_val );
Expand Down

0 comments on commit 5ed5051

Please sign in to comment.