From 061bcd0a0e32db929071852d9ab1f1cd55387faa Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 25 Oct 2011 16:27:38 +0200 Subject: [PATCH] check for ui._list --- static/js/pandora/findElement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/findElement.js b/static/js/pandora/findElement.js index 197133f8..4e5dd969 100644 --- a/static/js/pandora/findElement.js +++ b/static/js/pandora/findElement.js @@ -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: '&'