mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
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
798b2ac187
commit
70294d3d91
@ -197,7 +197,7 @@ config_check();
|
|||||||
$search_bar .= "value='" . $config['search_keywords'] . "'";
|
$search_bar .= "value='" . $config['search_keywords'] . "'";
|
||||||
|
|
||||||
$search_bar .= 'onfocus="javascript: if (fieldKeyWordEmpty) $(\'#keywords\').val(\'\');"
|
$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 .= 'onClick="javascript: document.quicksearch.submit()"';
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ function configure_modules_form () {
|
|||||||
$("#textarea_description").attr ("value", js_html_entity_decode (data["description"]));
|
$("#textarea_description").attr ("value", js_html_entity_decode (data["description"]));
|
||||||
$("#textarea_configuration_data").val(configuration_data);
|
$("#textarea_configuration_data").val(configuration_data);
|
||||||
$("#component_loading").hide ();
|
$("#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-max").attr ("value", data["max"]);
|
||||||
$("#text-min").attr ("value", data["min"]);
|
$("#text-min").attr ("value", data["min"]);
|
||||||
// Workaround to update the advanced select control from html and ajax
|
// Workaround to update the advanced select control from html and ajax
|
||||||
@ -264,7 +264,7 @@ function configure_modules_form () {
|
|||||||
function (data, status) {
|
function (data, status) {
|
||||||
$("#text-name").attr ("value", js_html_entity_decode (data["name"]));
|
$("#text-name").attr ("value", js_html_entity_decode (data["name"]));
|
||||||
$("#textarea_description").attr ("value", js_html_entity_decode (data["description"]));
|
$("#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-max").attr ("value", data["max"]);
|
||||||
$("#text-min").attr ("value", data["min"]);
|
$("#text-min").attr ("value", data["min"]);
|
||||||
// Workaround to update the advanced select control from html and ajax
|
// Workaround to update the advanced select control from html and ajax
|
||||||
|
Loading…
x
Reference in New Issue
Block a user