fix entities dialog
This commit is contained in:
parent
32c1319414
commit
083a74615b
1 changed files with 2 additions and 2 deletions
|
@ -331,7 +331,7 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
}
|
}
|
||||||
pandora.api.getEntity({
|
pandora.api.getEntity({
|
||||||
id: id
|
id: id
|
||||||
}, function(data) {
|
}, function(result) {
|
||||||
if (id != selected[0]) {
|
if (id != selected[0]) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -363,7 +363,7 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
}
|
}
|
||||||
$input.options({
|
$input.options({
|
||||||
disabled: key.id == 'id',
|
disabled: key.id == 'id',
|
||||||
value: data[key.id],
|
value: result.data[key.id],
|
||||||
width: 248 - Ox.SCROLLBAR_SIZE
|
width: 248 - Ox.SCROLLBAR_SIZE
|
||||||
})
|
})
|
||||||
.css({margin: '2px 2px 4px 2px'})
|
.css({margin: '2px 2px 4px 2px'})
|
||||||
|
|
Loading…
Reference in a new issue