r3557 make image path relative, so it can work for all installations
authorDenis Ovsienko <infrastation@yandex.ru>
Sun, 9 May 2010 16:41:07 +0000 (16:41 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sun, 9 May 2010 16:41:07 +0000 (16:41 +0000)
inc/interface.php
popup.php

index 0a252d938a50a1722bb95d5aae4855d2b12de6d2..93203c516365fa5ace9c5b574dae7c367b665694 100644 (file)
@@ -7097,7 +7097,7 @@ function renderVLANIPv4 ($some_id)
                        return;
                printOpFormIntro ('bind');
                echo "<script>";
-               echo "window.dhx_globalImgPath='/pix/';";
+               echo "window.dhx_globalImgPath='pix/';";
                echo "</script>";
                echo "<script src='js/dhtmlxcommon.js'></script>";
                echo "<script src='js/dhtmlxcombo.js'></script>";
index 1f8cade4c7a0c0dcaa467d8d237b757061dca331..0f831a2832e551ca912aba24895277ccf5e49bff 100644 (file)
--- a/popup.php
+++ b/popup.php
@@ -95,7 +95,7 @@ header ('Content-Type: text/html; charset=UTF-8');
                        }
                        $spare_ports = findSparePorts ($port_id, $only_racks);
                echo "<script>";
-               echo "window.dhx_globalImgPath='/pix/';";
+               echo "window.dhx_globalImgPath='pix/';";
                echo "</script>";
                echo "<script src='js/dhtmlxcommon.js'></script>";
                echo "<script src='js/dhtmlxcombo.js'></script>";