fixed minor error

This commit is contained in:
daniel 2018-07-16 18:15:04 +02:00
parent 713fbd5368
commit 9e8126542a

View File

@ -18,7 +18,7 @@ global $config;
require_once($config['homedir'] . "/include/functions_snmp_browser.php"); require_once($config['homedir'] . "/include/functions_snmp_browser.php");
$snmp_browser_path = is_metaconsole() ? "../../" : ""; $snmp_browser_path = is_metaconsole() ? "../../" : "";
$snmp_browser_path .= "include/javascript/pandora_snmp_browser.js"; $snmp_browser_path .= "include/javascript/pandora_snmp_browser.js";
echo "<script type='text/javascript' src='$snmp_browser_path'/>"; echo "<script type='text/javascript' src='$snmp_browser_path'></script>";
//This line does not run with the dinamic loader editor in policies. //This line does not run with the dinamic loader editor in policies.
//ui_require_javascript_file ('pandora_snmp_browser'); //ui_require_javascript_file ('pandora_snmp_browser');