forked from 0x2620/pandora
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() {
|
||||
var id = ui.entitiesSelection['type']
|
||||
? ui.entitiesSelection['type'][0]
|
||||
var id = ui.entitiesSelection[type]
|
||||
? ui.entitiesSelection[type][0]
|
||||
: null;
|
||||
if (!id) {
|
||||
$entity.empty();
|
||||
|
@ -309,7 +309,7 @@ pandora.ui.entitiesDialog = function(options) {
|
|||
type: type,
|
||||
view: 'entity'
|
||||
}, function(html) {
|
||||
if (id != ui.entitiesSelection['type'][0]) {
|
||||
if (id != ui.entitiesSelection[type][0]) {
|
||||
return;
|
||||
}
|
||||
$entity.html(html);
|
||||
|
|
Loading…
Reference in a new issue