File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
.search-filters {
6
6
margin-bottom : 25px ;
7
+ }
8
+
9
+ .gray {
10
+ color : lightgray;
7
11
}
Original file line number Diff line number Diff line change 37
37
showSearchButton : true ,
38
38
showBorders : true ,
39
39
globalPadding : '33px' ,
40
+ showShiftSelectMessage : true ,
40
41
} , options ) ;
41
42
42
43
filterModal . that = this ;
426
427
finalOptions = ( undefined == filteredOptions ) ? parameter . options : filteredOptions ,
427
428
selectedValues = [ ] ,
428
429
relatedTo ,
429
- filterInputBox = '' ;
430
+ filterInputBox = '' ,
431
+ shiftSelectMultiMessage = '' ;
430
432
431
433
selectedFilter = filterModal . selectedFilterParameters [ parameter . attributeName ] ;
432
434
if ( selectedFilter ) {
436
438
437
439
if ( finalOptions . length > 10 ) {
438
440
filterInputBox = '<input class="search-filters search-filters-js" placeholder="search">' ;
441
+ if ( filterModal . settings . showShiftSelectMessage ) {
442
+ shiftSelectMultiMessage = '<p class="gray">shift and click to select multi checkboxes</p>' ;
443
+ }
444
+
439
445
}
440
446
441
447
$ . each ( finalOptions , function ( index , filterParameter ) {
453
459
'</label></div>' ;
454
460
} ) ;
455
461
456
- return filterInputBox + checkBoxesHtml ;
462
+ return filterInputBox + shiftSelectMultiMessage + checkBoxesHtml ;
457
463
}
458
464
459
465
function relateToRender ( filterParameter ) {
You can’t perform that action at this time.
0 commit comments