check for ui._list

This commit is contained in:
j 2011-10-25 16:27:38 +02:00
parent 7e3e0a5f6d
commit 061bcd0a0e

View file

@ -124,7 +124,7 @@ pandora.ui.findElement = function() {
pandora.api.autocomplete({
key: key,
query: {
conditions: pandora.$ui.findListSelect
conditions: pandora.user.ui._list
&& pandora.$ui.findListSelect.value() == 'list'
? [{key: 'list', value: pandora.user.ui._list, operator: '=='}] : [],
operator: '&'