File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -683,7 +683,7 @@ define([
683
683
// reset with no source
684
684
columnInputIdList && columnInputIdList . forEach ( columnInputId => {
685
685
let defaultValue = pageThis . state [ columnInputId ] ;
686
- if ( defaultValue == null || defaultValue == undefined ) {
686
+ if ( defaultValue === null || defaultValue = == undefined ) {
687
687
defaultValue = '' ;
688
688
}
689
689
if ( tagType == 'input' ) {
@@ -745,7 +745,7 @@ define([
745
745
// columns using suggestInput
746
746
columnInputIdList && columnInputIdList . forEach ( ( columnInputId , idx ) => {
747
747
let defaultValue = pageThis . state [ columnInputId ] ;
748
- if ( defaultValue == null || defaultValue == undefined ) {
748
+ if ( defaultValue === null || defaultValue = == undefined ) {
749
749
defaultValue = '' ;
750
750
}
751
751
// create tag
@@ -774,7 +774,7 @@ define([
774
774
'data-type' :listVar . dtype
775
775
} ) ;
776
776
// cell metadata test : defaultValue as selected
777
- if ( listVar . value == defaultValue ) {
777
+ if ( listVar . value === defaultValue ) {
778
778
$ ( option ) . prop ( 'selected' , true ) ;
779
779
}
780
780
option . append ( document . createTextNode ( listVar . label ) ) ;
You can’t perform that action at this time.
0 commit comments