forked from 0x2620/pandora
fix find in list icon selector
This commit is contained in:
parent
91f2c6fe35
commit
9aff249881
1 changed files with 5 additions and 5 deletions
|
@ -64,7 +64,7 @@ pandora.ui.listDialog = function(section) {
|
|||
}
|
||||
}),
|
||||
pandora.$ui.findIconItemInput = Ox.Input({
|
||||
//changeOnKeypress: true,
|
||||
changeOnKeypress: true,
|
||||
clear: true,
|
||||
placeholder: 'Find: All',
|
||||
width: 128 + Ox.UI.SCROLLBAR_SIZE
|
||||
|
@ -491,10 +491,10 @@ pandora.ui.listIconPanel = function(listData) {
|
|||
items: function(data, callback) {
|
||||
pandora.api.find(Ox.extend(data, {
|
||||
query: {
|
||||
conditions: [
|
||||
{key: 'list', value: listData.id, operator: '=='},
|
||||
{key: key, value: value, operator: '='}
|
||||
],
|
||||
conditions: Ox.merge(
|
||||
[{key: 'list', value: listData.id, operator: '=='}],
|
||||
value !== '' ? [{key: key, value: value, operator: '='}] : []
|
||||
),
|
||||
operator: '&'
|
||||
}
|
||||
}), callback);
|
||||
|
|
Loading…
Reference in a new issue