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:
Dan Stillman 2006-11-05 09:34:03 +00:00
parent de5b998139
commit 989e79f9b1

View File

@ -319,7 +319,7 @@
}
// Textbox + units dropdown for isInTheLast operator
if (operatorsList.value=='isInTheLast')
else if (operatorsList.value=='isInTheLast')
{
this.id('valuefield').hidden = true;
this.id('valuemenu').hidden = true;
@ -329,6 +329,9 @@
// Textbox
else
{
if (!this.id('value-date-age').hidden){
this.value = '';
}
this.id('valuefield').hidden = false;
this.id('valuemenu').hidden = true;
this.id('value-date-age').hidden = true;