update entities dialog (scroll, list update on name edit

This commit is contained in:
rolux 2014-11-21 15:16:00 +00:00
parent 11dd966be8
commit 618f07452c

View file

@ -131,7 +131,8 @@ pandora.ui.entitiesDialog = function(options) {
resize: updateList
}),
$entity = Ox.Element(),
$entity = Ox.Element()
.css({overflowY: 'auto'}),
$itemMenu = Ox.MenuButton({
items: [
@ -379,7 +380,9 @@ pandora.ui.entitiesDialog = function(options) {
pandora.api.editEntity(Ox.extend({
id: id
}, key.id, data.value), function(result) {
// ...
if (key.id == 'name') {
$list.value(id, {name: result.data.name});
}
});
}
})