when adding entity, send type

This commit is contained in:
rolux 2014-11-19 19:13:17 +00:00
parent 710357ee4c
commit 750d58ce4f

View file

@ -135,7 +135,9 @@ pandora.ui.entitiesDialog = function(options) {
.bindEvent({
click: function(data) {
if (data.id == 'add') {
pandora.api.addEntity({}, function(result) {
pandora.api.addEntity({
type: type
}, function(result) {
Ox.print('$$$$', result);
Ox.Request.clearCache('findEntities');
$list.reloadList().options({