View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010800 | mantisbt | html | public | 2009-08-04 08:59 | 2016-08-28 01:18 |
Reporter | mahindra | Assigned To | dregad | ||
Priority | urgent | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 1.1.8 | ||||
Summary | 0010800: Tabindex of "custom-fields" in "bug_change_status_page.php" contra no tab-order in original mantisbt-fields | ||||
Description | Dear Mantis-Team, there are similar IDs 0003460, 0005306 and 0006167 and in my opinion they are all about the same factor, that original mantisbt-Fields in the "bug_change_status_page.php" have no tabindex contra custom-fields are defined with tabindex "1-n" for a long time since mantisbt exist. It is interesting that all other Guis from mantisbt have no tabindex set for custom-fields, so the browser is able to handle the fields from top to down in a user-friendly way. It doesn't matter if you youse Firefox or IE 6 to 8, in ervery browser will be the same interrupted field-order. It would be very fine if you are able to remove the tabindex by the custom field tags, so the browser will be able to handle the field order. Thank you for your support! Yours, | ||||
Steps To Reproduce | Example generated html-code from "bug_change_status_page.php" ........no tabindex by original mantisbt-fields.................... <!-- Resolution --> <!-- Duplicate ID --> <!-- Custom Fields with tabindex!!!!!! --> | ||||
Tags | patch | ||||
Attached Files | cfdef_standard.php.patch (2,313 bytes)
Index: cfdef_standard.php =================================================================== --- cfdef_standard.php (revision 3828) +++ cfdef_standard.php (working copy) @@ -240,9 +240,9 @@ } if ( $p_field_def['type'] == CUSTOM_FIELD_TYPE_MULTILIST ) { - echo '<select ', helper_get_tab_index(), ' name="custom_field_' . $p_field_def['id'] . '[]" size="' . $t_list_size . '" multiple="multiple">'; + echo '<select ', ' name="custom_field_' . $p_field_def['id'] . '[]" size="' . $t_list_size . '" multiple="multiple">'; } else { - echo '<select ', helper_get_tab_index(), ' name="custom_field_' . $p_field_def['id'] . '" size="' . $t_list_size . '">'; + echo '<select ', ' name="custom_field_' . $p_field_def['id'] . '" size="' . $t_list_size . '">'; } $t_selected_values = explode( '|', $t_custom_field_value ); @@ -260,7 +260,7 @@ $t_values = explode( '|', custom_field_prepare_possible_values( $p_field_def['possible_values'] ) ); $t_checked_values = explode( '|', $t_custom_field_value ); foreach( $t_values as $t_option ) { - echo '<input ', helper_get_tab_index(), ' type="checkbox" name="custom_field_' . $p_field_def['id'] . '[]"'; + echo '<input ', ' type="checkbox" name="custom_field_' . $p_field_def['id'] . '[]"'; if( in_array( $t_option, $t_checked_values, true ) ) { echo ' value="' . string_attribute( $t_option ) . '" checked="checked"> ' . string_display_line( $t_option ) . '  '; } else { @@ -280,7 +280,7 @@ } foreach ( $t_values as $t_option ) { - echo '<input ', helper_get_tab_index(), ' type="radio" name="custom_field_' . $p_field_def['id'] . '"'; + echo '<input ', ' type="radio" name="custom_field_' . $p_field_def['id'] . '"'; if ( $t_option == $t_checked_value ) { echo ' value="' . string_attribute( $t_option ) . '" checked="checked"> ' . string_display_line( $t_option ) . '  '; @@ -291,7 +291,7 @@ } function cfdef_input_textbox($p_field_def, $t_custom_field_value) { - echo '<input ', helper_get_tab_index(), ' type="text" name="custom_field_' . $p_field_def['id'] . '" size="80"'; + echo '<input ', ' type="text" name="custom_field_' . $p_field_def['id'] . '" size="80"'; if( 0 < $p_field_def['length_max'] ) { echo ' maxlength="' . $p_field_def['length_max'] . '"'; } else { | ||||