Merge branch '44-las-plantillas-de-modulos-no-guardan-la-unidad-de-los-modulos-creados-por-componentes-integria-4412' into 'develop'

fixed errors in modules templates

See merge request !120
This commit is contained in:
daniel 2017-02-06 09:46:30 +01:00
parent fc28d720bd
commit 35738ad38a
2 changed files with 5 additions and 2 deletions

View File

@ -81,6 +81,7 @@ if (isset ($_POST["template_id"])) {
'plugin_user' => $row2["plugin_user"],
'plugin_pass' => $row2["plugin_pass"],
'plugin_parameter' => $row2["plugin_parameter"],
'unit' => $row2["unit"],
'max_timeout' => $row2["max_timeout"],
'max_retries' => $row2["max_retries"],
'id_plugin' => $row2['id_plugin'],

View File

@ -113,7 +113,9 @@ push_table_row ($data, 'tcp_receive');
function validate_post_process() {
var post_process = $("#text-post_process").val();
if (post_process != undefined){
var new_post_process = post_process.replace(',','.');
$("#text-post_process").val(new_post_process);
}
}
</script>