pandora..findListSelect can be undefined
This commit is contained in:
parent
389619feaf
commit
7e3e0a5f6d
1 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,8 @@ pandora.ui.findElement = function() {
|
|||
pandora.api.autocomplete({
|
||||
key: key,
|
||||
query: {
|
||||
conditions: pandora.$ui.findListSelect.value() == 'list'
|
||||
conditions: pandora.$ui.findListSelect
|
||||
&& pandora.$ui.findListSelect.value() == 'list'
|
||||
? [{key: 'list', value: pandora.user.ui._list, operator: '=='}] : [],
|
||||
operator: '&'
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue