2009-05-22 Esteban Sanchez <estebans@artica.es>

* include/javascript/pandora_modules.js: Set values of plugin
        component when one of this kind is selected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
esanchezm 2009-05-22 09:23:50 +00:00
parent 46b052f259
commit fe38e97fb6
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-05-22 Esteban Sanchez <estebans@artica.es>
* include/javascript/pandora_modules.js: Set values of plugin
component when one of this kind is selected.
2009-05-22 Esteban Sanchez <estebans@artica.es>
* extras/pandoradb_migrate_v2.x_to_v3.0.sql,

View File

@ -78,6 +78,10 @@ function configure_modules_form () {
$("#oid, img#edit_oid").hide ();
$("#id_module_group option["+data["id_group"]+"]").select (1);
$("#max_timeout").attr ("value", data["max_timeout"]);
$("#id_plugin option[value="+data["id_plugin"]+"]").select (1);
$("#text-plugin_user").attr ("value", html_entity_decode (data["plugin_user"]));
$("#password-plugin_pass").attr ("value", html_entity_decode (data["plugin_pass"]));
$("#text-plugin_parameter").attr ("value", html_entity_decode (data["plugin_parameter"]));
if (data["history_data"])
$("#checkbox-history_data").check ();
else