update entities type if changed via UI, fixes #2668
This commit is contained in:
parent
f680d8613e
commit
a351ddfe0f
1 changed files with 8 additions and 0 deletions
|
@ -289,6 +289,14 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
// resize: ...
|
// resize: ...
|
||||||
pandora_entitiesselection: function() {
|
pandora_entitiesselection: function() {
|
||||||
selectEntities();
|
selectEntities();
|
||||||
|
},
|
||||||
|
pandora_entitiestype: function() {
|
||||||
|
type = ui.entitiesType || (
|
||||||
|
pandora.site.entities.length ? pandora.site.entities[0].id : ''
|
||||||
|
);
|
||||||
|
$entitiesSelect.options({value: type});
|
||||||
|
$list.reloadList();
|
||||||
|
selectEntities();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue