diff --git a/bug_report_page.php b/bug_report_page.php index d2caf3154c..9d7b6060bd 100644 --- a/bug_report_page.php +++ b/bug_report_page.php @@ -389,7 +389,7 @@ class="dropzone-form" '; + echo ''; } ?> @@ -406,7 +406,7 @@ class="dropzone-form" '; + echo ''; } ?> @@ -425,7 +425,7 @@ class="dropzone-form" '; + echo ''; } ?> diff --git a/bug_update_page.php b/bug_update_page.php index 67cb34d9d5..a855bca3a1 100644 --- a/bug_update_page.php +++ b/bug_update_page.php @@ -519,7 +519,7 @@ print_platform_option_list( $t_bug->platform ); echo ''; } else { - echo ''; + echo ''; } echo ''; @@ -537,7 +537,7 @@ print_os_option_list( $t_bug->os ); echo ''; } else { - echo ''; + echo ''; } echo ''; @@ -555,7 +555,7 @@ print_os_build_option_list( $t_bug->os_build ); echo ''; } else { - echo ''; + echo ''; } echo ''; diff --git a/js/common.js b/js/common.js index 3a0cc236d7..8cea167563 100644 --- a/js/common.js +++ b/js/common.js @@ -89,6 +89,23 @@ $(document).ready( function() { SetCookie("collapse_settings", t_cookie); }); + $('input[type=text].typeahead').bs_typeahead({ + source: function(query, callback) { + var fieldName = this.$element.attr('id'); + var postData = {}; + postData['entrypoint']= fieldName + '_get_with_prefix'; + postData[fieldName] = query; + $.getJSON('xmlhttprequest.php', postData, function(data) { + var results = []; + $.each(data, function(i, value) { + results.push(value); + }); + callback(results); + }); + } + }); + + $('a.dynamic-filter-expander').click(function(event) { event.preventDefault(); var fieldID = $(this).attr('id');