Skip to content

Commit

Permalink
Fix #12622: Changing reporter on the bug update page doesn't work
Browse files Browse the repository at this point in the history
There was a typo introduced by the patch for #12354 that meant some
JavaScript code was not being included correctly. This code was
responsible for allowing the textual [edit] button to work with the
reporter field on bug_update_page.
  • Loading branch information
davidhicks committed Dec 25, 2010
1 parent 514d5b6 commit 427b65b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/html_api.php
Expand Up @@ -350,7 +350,7 @@ function html_css() {
}

# fix for NS 4.x css
echo "\t", '<script type="text/javascript" language="JavaScript"><!--', "\n";
echo "\t", '<script type="text/javascript"><!--', "\n";
echo "\t\t", 'if(document.layers) {document.write("<style>td{padding:0px;}<\/style>")}', "\n";
echo "\t", '// --></script>', "\n";
}
Expand Down Expand Up @@ -397,7 +397,7 @@ function html_meta_redirect( $p_url, $p_time = null, $p_sanitize = true ) {
function html_head_javascript() {
if( ON == config_get( 'use_javascript' ) ) {
html_javascript_link( 'common.js' );
echo '<script language="text/javascript">var loading_lang = "' . lang_get( 'loading' ) . '";</script>';
echo '<script type="text/javascript">var loading_lang = "' . lang_get( 'loading' ) . '";</script>';
html_javascript_link( 'ajax.js' );

global $g_enable_projax;
Expand Down

0 comments on commit 427b65b

Please sign in to comment.