Fixed problems with add icon in visual console. Tiquet: #2528
This commit is contained in:
parent
6abb626b5b
commit
dc035cc591
|
@ -1194,11 +1194,11 @@ function set_static_graph_status(idElement, image, status) {
|
||||||
function set_image(type, idElement, image) {
|
function set_image(type, idElement, image) {
|
||||||
if (type == "image") {
|
if (type == "image") {
|
||||||
item = "#image_" + idElement;
|
item = "#image_" + idElement;
|
||||||
img_src = "images/console/icons/" + image;
|
img_src = "images/console/icons/" + image + ".png";
|
||||||
}
|
}
|
||||||
else if (type == "background") {
|
else if (type == "background") {
|
||||||
item = "background_img";
|
item = "background_img";
|
||||||
img_src = "images/console/background/" + image;
|
img_src = "images/console/background/" + image + ".png";
|
||||||
}
|
}
|
||||||
|
|
||||||
var params = [];
|
var params = [];
|
||||||
|
|
Loading…
Reference in New Issue