mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Added service image in update, visual console. Ticket #473
This commit is contained in:
parent
c7e1d682df
commit
0fa2f9b355
@ -2190,12 +2190,14 @@ function createItem(type, values, id_data) {
|
|||||||
default:
|
default:
|
||||||
//Maybe create in any Enterprise item.
|
//Maybe create in any Enterprise item.
|
||||||
if (typeof(enterprise_createItem) == 'function') {
|
if (typeof(enterprise_createItem) == 'function') {
|
||||||
values['image'] = 'visualmap.services';
|
if (values['image'] == "") {
|
||||||
|
values['image'] = 'visualmap.services';
|
||||||
|
}
|
||||||
temp_item = enterprise_createItem(type, values, id_data);
|
temp_item = enterprise_createItem(type, values, id_data);
|
||||||
if (temp_item != false) {
|
if (temp_item != false) {
|
||||||
item = temp_item;
|
item = temp_item;
|
||||||
}
|
}
|
||||||
$('#'+id_data).css({'width':'','height':''});
|
$('#'+id_data).css({'width':'','height':''});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -2247,7 +2249,6 @@ function insertDB(type, values) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
var id = null;
|
var id = null;
|
||||||
|
|
||||||
parameter = Array();
|
parameter = Array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user