forked from 0x2620/pandora
update entitiesDialog
This commit is contained in:
parent
ec08c92250
commit
45d5eadf50
1 changed files with 9 additions and 2 deletions
|
@ -39,8 +39,15 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
margin: '4px'
|
margin: '4px'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
submit: function() {
|
change: function(data) {
|
||||||
|
$list.options({
|
||||||
|
query: {
|
||||||
|
conditions: [
|
||||||
|
{key: 'name', operator: '=', value: data.value}
|
||||||
|
],
|
||||||
|
operator: '&'
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue