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 8
8
9
9
.gray {
10
10
color : lightgray;
11
+ }
12
+
13
+
14
+ .filters-date-range-picker {
15
+ width : 170px ;
16
+ margin-left : 5px ;
17
+
11
18
}
Original file line number Diff line number Diff line change 179
179
}
180
180
181
181
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 ">' +
183
183
'</div>' ;
184
184
}
185
185
971
971
humanValue = decodeURIComponent ( humanValue ) ;
972
972
// possible bug here
973
973
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
+ }
977
979
} ) ;
978
980
}
979
981
} )
You can’t perform that action at this time.
0 commit comments