diff options
author | Lajos Gerecs <lajos.gerecs@erlang-solutions.com> | 2021-02-17 13:12:03 +0100 |
---|---|---|
committer | Lajos Gerecs <lajos.gerecs@erlang-solutions.com> | 2021-02-17 13:30:38 +0100 |
commit | 8d1afe42e122abfe44eb5385ffbbc4ee591a6adf (patch) | |
tree | da056277894dd28fa77fead34651a8fcb1d4bfc8 | |
parent | 775459f5b96e870b2a9892e397457d4fed574841 (diff) | |
download | rabbitmq-server-git-8d1afe42e122abfe44eb5385ffbbc4ee591a6adf.tar.gz |
fix search field for values containing spaces
The value of the input field was not surrounded by quotes properly,
which made values containing spaces not show up correctly.
-rw-r--r-- | deps/rabbitmq_management/priv/www/js/formatters.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/rabbitmq_management/priv/www/js/formatters.js b/deps/rabbitmq_management/priv/www/js/formatters.js index 770a0703c7..cbd3010287 100644 --- a/deps/rabbitmq_management/priv/www/js/formatters.js +++ b/deps/rabbitmq_management/priv/www/js/formatters.js @@ -925,7 +925,7 @@ function paginate_ui(pages, context, label){ res += '</select> </th>'; res += '<th><label for="' + context +'-pageof">of </label> ' + pages.page_count +'</th>'; res += '<th><span><label for="'+ context +'-name"> - Filter: </label> <input id="'+ context +'-name" data-page-start="1" class="pagination_class pagination_class_input" type="text"'; - res += 'value = ' + fmt_filter_name_request(context, "") + '>'; + res += 'value="' + fmt_filter_name_request(context, "") + '">'; res += '</input></th></span>'; res += '<th> <input type="checkbox" data-page-start="1" class="pagination_class pagination_class_checkbox" id="'+ context +'-filter-regex-mode"' ; |