forked from 0x2620/pandora
when adding entity, send type
This commit is contained in:
parent
710357ee4c
commit
750d58ce4f
1 changed files with 3 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue