From 083a74615b0a2dcf981c1d932923184fbd7aaf18 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 20 Nov 2014 16:58:22 +0000 Subject: [PATCH] fix entities dialog --- static/js/entitiesDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/entitiesDialog.js b/static/js/entitiesDialog.js index a6386aca2..1c34ea17b 100644 --- a/static/js/entitiesDialog.js +++ b/static/js/entitiesDialog.js @@ -331,7 +331,7 @@ pandora.ui.entitiesDialog = function(options) { } pandora.api.getEntity({ id: id - }, function(data) { + }, function(result) { if (id != selected[0]) { return; } @@ -363,7 +363,7 @@ pandora.ui.entitiesDialog = function(options) { } $input.options({ disabled: key.id == 'id', - value: data[key.id], + value: result.data[key.id], width: 248 - Ox.SCROLLBAR_SIZE }) .css({margin: '2px 2px 4px 2px'})