Skip to content

Commit 06e6c3e

Browse files
authored
cppcheck-htmlreport: Added clear button inside 'File' and 'Filter' text box (cppcheck-opensource#5805)
This is a cosmetic change. When the user enters text to either the "File" or "Filter" option, a clear button is shown now.
1 parent 17ee409 commit 06e6c3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

htmlreport/cppcheck-htmlreport

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ def filter_bar(enabled):
408408
,'\n | '
409409
,''.join([filter_button(enabled, tool, 'toggleTool') for tool in ['cppcheck', 'clang-tidy']])
410410
,'\n | '
411-
,'\n <label class="severityHeader">File: <input type="text" oninput="filterFile(this.value)"/></label>'
412-
,'\n <label class="severityHeader">Filter: <input type="text" oninput="filterText(this.value)"/></label>'
411+
,'\n <label class="severityHeader">File: <input type="search" oninput="filterFile(this.value)"/></label>'
412+
,'\n <label class="severityHeader">Filter: <input type="search" oninput="filterText(this.value)"/></label>'
413413
,'\n </div>\n'])
414414

415415
def git_blame(errors, path, file, blame_options):

0 commit comments

Comments
 (0)