2013-04-12 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: fixed the change the type of module when select network or local component. Fixes: #3610671 * general/header.php: cleaned source code style. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
18d9b97544
commit
f079153730
|
@ -57,7 +57,7 @@ config_check();
|
|||
$table->width = "100%";
|
||||
$table->styleTable = 'margin: auto; margin-top: 0px;';
|
||||
$table->rowclass[0] = '';
|
||||
|
||||
|
||||
// Servers check
|
||||
$servers = array();
|
||||
$servers["all"] = (int) db_get_value ('COUNT(id_server)','tserver');
|
||||
|
@ -121,7 +121,7 @@ config_check();
|
|||
unset ($values);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$autorefresh_link_open_img = '<a class="white autorefresh" href="' . ui_get_url_refresh ($ignored_params) . '">';
|
||||
$autorefresh_link_open_txt = '<a class="white autorefresh autorefresh_txt" href="' . ui_get_url_refresh ($ignored_params) . '">';
|
||||
$autorefresh_link_close = '</a>';
|
||||
|
@ -146,7 +146,7 @@ config_check();
|
|||
else {
|
||||
$maintenance_img = html_print_image ("images/header_ready.png", true, array ("title" => __('There are not warnings'), "id" => "yougotalert", "class" => "bot"));
|
||||
}
|
||||
|
||||
|
||||
$table->data[0][3] = $maintenance_img;
|
||||
|
||||
// Main help icon
|
||||
|
@ -195,10 +195,10 @@ config_check();
|
|||
$search_bar .= "value='" . __("Enter keywords to search") . "'";
|
||||
else
|
||||
$search_bar .= "value='" . $config['search_keywords'] . "'";
|
||||
|
||||
|
||||
$search_bar .= 'onfocus="javascript: if (fieldKeyWordEmpty) $(\'#keywords\').val(\'\');"
|
||||
style="margin-top:5px;" class="search_input" />';
|
||||
|
||||
style="margin-top:5px;" class="search_input" />';
|
||||
|
||||
//$search_bar .= 'onClick="javascript: document.quicksearch.submit()"';
|
||||
|
||||
$search_bar .= "<input type='hidden' name='head_search_keywords' value='abc' />";
|
||||
|
@ -235,7 +235,7 @@ config_check();
|
|||
|
||||
/* Temporal fix to hide graphics when ui_dialog are displayed */
|
||||
$("#yougotalert").click(function () {
|
||||
$("#agent_access").css("display", "none");
|
||||
$("#agent_access").css("display", "none");
|
||||
});
|
||||
$("#ui_close_dialog_titlebar").click(function () {
|
||||
$("#agent_access").css("display","");
|
||||
|
|
|
@ -112,7 +112,7 @@ function configure_modules_form () {
|
|||
$("#textarea_description").attr ("value", js_html_entity_decode (data["description"]));
|
||||
$("#textarea_configuration_data").val(configuration_data);
|
||||
$("#component_loading").hide ();
|
||||
$("#id_module_type option[value="+data["type"]+"]").select (1);
|
||||
$("#id_module_type").val(data["type"]);
|
||||
$("#text-max").attr ("value", data["max"]);
|
||||
$("#text-min").attr ("value", data["min"]);
|
||||
// Workaround to update the advanced select control from html and ajax
|
||||
|
@ -264,7 +264,7 @@ function configure_modules_form () {
|
|||
function (data, status) {
|
||||
$("#text-name").attr ("value", js_html_entity_decode (data["name"]));
|
||||
$("#textarea_description").attr ("value", js_html_entity_decode (data["description"]));
|
||||
$("#id_module_type option[value="+data["type"]+"]").select (1);
|
||||
$("#id_module_type").val(data["type"]);
|
||||
$("#text-max").attr ("value", data["max"]);
|
||||
$("#text-min").attr ("value", data["min"]);
|
||||
// Workaround to update the advanced select control from html and ajax
|
||||
|
|
Loading…
Reference in New Issue