forked from 0x2620/pandora
update entities dialog
This commit is contained in:
parent
5e1985478c
commit
0e8dcac212
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,7 @@ pandora.ui.entitiesDialog = function(options) {
|
|||
items: function(options, callback) {
|
||||
pandora.api.findEntities({
|
||||
keys: options.keys,
|
||||
positions: options.positions,
|
||||
query: {
|
||||
conditions: [
|
||||
{key: 'type', operator: '==', value: type}
|
||||
|
@ -106,6 +107,7 @@ pandora.ui.entitiesDialog = function(options) {
|
|||
) + ' ' + Ox._('selected');
|
||||
selected = data.ids;
|
||||
renderEntity();
|
||||
$deselectButton[data.ids.length ? 'show' : 'hide']();
|
||||
renderForm();
|
||||
$itemStatus.html(text[0].toUpperCase() + text.slice(1));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue