mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue