Fix small problem in search dialog with saved string representation of isInLast value persisting to a regular textbox of another condition
This commit is contained in:
parent
de5b998139
commit
989e79f9b1
|
@ -319,7 +319,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Textbox + units dropdown for isInTheLast operator
|
// Textbox + units dropdown for isInTheLast operator
|
||||||
if (operatorsList.value=='isInTheLast')
|
else if (operatorsList.value=='isInTheLast')
|
||||||
{
|
{
|
||||||
this.id('valuefield').hidden = true;
|
this.id('valuefield').hidden = true;
|
||||||
this.id('valuemenu').hidden = true;
|
this.id('valuemenu').hidden = true;
|
||||||
|
@ -329,6 +329,9 @@
|
||||||
// Textbox
|
// Textbox
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (!this.id('value-date-age').hidden){
|
||||||
|
this.value = '';
|
||||||
|
}
|
||||||
this.id('valuefield').hidden = false;
|
this.id('valuefield').hidden = false;
|
||||||
this.id('valuemenu').hidden = true;
|
this.id('valuemenu').hidden = true;
|
||||||
this.id('value-date-age').hidden = true;
|
this.id('value-date-age').hidden = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user