typo
This commit is contained in:
parent
5c1886db42
commit
044f9e28a5
1 changed files with 3 additions and 3 deletions
|
@ -297,8 +297,8 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderEntity() {
|
function renderEntity() {
|
||||||
var id = ui.entitiesSelection['type']
|
var id = ui.entitiesSelection[type]
|
||||||
? ui.entitiesSelection['type'][0]
|
? ui.entitiesSelection[type][0]
|
||||||
: null;
|
: null;
|
||||||
if (!id) {
|
if (!id) {
|
||||||
$entity.empty();
|
$entity.empty();
|
||||||
|
@ -309,7 +309,7 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
type: type,
|
type: type,
|
||||||
view: 'entity'
|
view: 'entity'
|
||||||
}, function(html) {
|
}, function(html) {
|
||||||
if (id != ui.entitiesSelection['type'][0]) {
|
if (id != ui.entitiesSelection[type][0]) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$entity.html(html);
|
$entity.html(html);
|
||||||
|
|
Loading…
Reference in a new issue