Added service image in update, visual console. Ticket #473

This commit is contained in:
Arturo Gonzalez 2017-03-08 12:19:46 +01:00
parent c7e1d682df
commit 0fa2f9b355
1 changed files with 4 additions and 3 deletions

View File

@ -2190,12 +2190,14 @@ function createItem(type, values, id_data) {
default:
//Maybe create in any Enterprise item.
if (typeof(enterprise_createItem) == 'function') {
values['image'] = 'visualmap.services';
if (values['image'] == "") {
values['image'] = 'visualmap.services';
}
temp_item = enterprise_createItem(type, values, id_data);
if (temp_item != false) {
item = temp_item;
}
$('#'+id_data).css({'width':'','height':''});
$('#'+id_data).css({'width':'','height':''});
}
break;
}
@ -2247,7 +2249,6 @@ function insertDB(type, values) {
}
});
var id = null;
parameter = Array();