Skip to content

Commit 87e8279

Browse files
ahornaceVladimir Kotal
authored andcommitted
Fix project selection by space
fixes #3701
1 parent a840d4e commit 87e8279

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

opengrok-web/src/main/java/org/opengrok/web/Scripts.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public String toHtml() {
113113
putjs("jquery-ui", "js/jquery-ui-1.12.1-custom", 11);
114114
putFromWebJar("jquery-tablesorter", "jquery.tablesorter.min.js", 12);
115115
putjs("tablesorter-parsers", "js/tablesorter-parsers-0.0.3", 13, true);
116-
putjs("searchable-option-list", "js/searchable-option-list-2.0.14", 14);
116+
putjs("searchable-option-list", "js/searchable-option-list-2.0.15", 14, true);
117117
putjs("utils", "js/utils-0.0.42", 15, true);
118118
putjs("repos", "js/repos-0.0.3", 20, true);
119119
putjs("diff", "js/diff-0.0.5", 20, true);

opengrok-web/src/main/webapp/js/searchable-option-list-2.0.14.js renamed to opengrok-web/src/main/webapp/js/searchable-option-list-2.0.15.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,9 @@
519519
// toggle current selected item with space bar
520520
$currentHighlightedOption = self.$selection.find('.sol-option.keyboard-selection input');
521521
$currentHighlightedOption
522+
.prop('checked', !$currentHighlightedOption.is(':checked'))
522523
.trigger('change');
523-
524+
524525
preventDefault = true;
525526
}
526527

0 commit comments

Comments
 (0)