File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 88
99.gray {
1010 color : lightgray;
11+ }
12+
13+
14+ .filters-date-range-picker {
15+ width : 170px ;
16+ margin-left : 5px ;
17+
1118}
Original file line number Diff line number Diff line change 179179 }
180180
181181 return '<div id="daterange" style="float: left; margin: 5px 0;" class="selectbox active">' +
182- '<input type="text" data-time-picker="true" value="' + value + '" name="' + dateRangeName + '" style="width: 170px; margin-left: 5px; ">' +
182+ '<input type="text" data-time-picker="true" value="' + value + '" name="' + dateRangeName + '" class="filters-date-range-picker ">' +
183183 '</div>' ;
184184 }
185185
971971 humanValue = decodeURIComponent ( humanValue ) ;
972972 // possible bug here
973973 humanValue = humanValue . replace ( "/" , "" ) ;
974- selectedValue = selectedData . options [ humanValue ] . value ;
975- dataToPush = buildElementData ( { name : humanValue , value : selectedValue } , rawObject ) ;
976- filterModal . selectedFilterParameters [ key ] . values . push ( dataToPush )
974+ if ( selectedData . options [ humanValue ] ) {
975+ selectedValue = selectedData . options [ humanValue ] . value ;
976+ dataToPush = buildElementData ( { name : humanValue , value : selectedValue } , rawObject ) ;
977+ filterModal . selectedFilterParameters [ key ] . values . push ( dataToPush )
978+ }
977979 } ) ;
978980 }
979981 } )
You can’t perform that action at this time.
0 commit comments