File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/web
opengrok-web/src/main/webapp/js Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public String toHtml() {
126
126
SCRIPTS .put ("jquery-tablesorter" , new FileScript ("js/jquery-tablesorter-2.26.6.min.js" , 12 ));
127
127
SCRIPTS .put ("tablesorter-parsers" , new FileScript ("js/tablesorter-parsers-0.0.1.js" , 13 ));
128
128
SCRIPTS .put ("searchable-option-list" , new FileScript ("js/searchable-option-list-2.0.6.js" , 14 ));
129
- SCRIPTS .put ("utils" , new FileScript ("js/utils-0.0.25 .js" , 15 ));
129
+ SCRIPTS .put ("utils" , new FileScript ("js/utils-0.0.26 .js" , 15 ));
130
130
SCRIPTS .put ("repos" , new FileScript ("js/repos-0.0.1.js" , 20 ));
131
131
SCRIPTS .put ("diff" , new FileScript ("js/diff-0.0.3.js" , 20 ));
132
132
SCRIPTS .put ("jquery-caret" , new FileScript ("js/jquery.caret-1.5.2.min.js" , 25 ));
Original file line number Diff line number Diff line change @@ -2280,6 +2280,13 @@ function transform_projects_to_groups() {
2280
2280
2281
2281
$sel . find ( '.sol-optiongroup' ) . each ( function ( ) {
2282
2282
var $el = $ ( this ) ;
2283
+
2284
+ // handle "Other" group for ungrouped projects
2285
+ if ( $el . find ( '.sol-optiongroup-label' ) . text ( ) === 'Other' ) {
2286
+ $el . find ( '.sol-checkbox[name=group]' ) . prop ( 'checked' , false ) ;
2287
+ return ;
2288
+ }
2289
+
2283
2290
var checkboxs = $el . find ( '.sol-option .sol-checkbox' )
2284
2291
for ( var i = 0 ; i < checkboxs . length ; i ++ ) {
2285
2292
var checkbox = $ ( checkboxs [ i ] )
You can’t perform that action at this time.
0 commit comments