Merge branch '1574-Fallo-JS-con-cabeceras-POST' into 'develop'

Fix POST HEADER error and post process string errors - #1574

See merge request artica/pandorafms!1231
This commit is contained in:
vgilc 2018-01-08 12:32:59 +01:00
commit 84a21f7ad6
1 changed files with 4 additions and 3 deletions

View File

@ -1175,9 +1175,10 @@ function delete_relation (num_row, id_relation) {
function validate_post_process() {
var post_process = $("#text-post_process").val();
var new_post_process = post_process.replace(',', '.');
$("#text-post_process").val(new_post_process);
if(post_process !== undefined){
var new_post_process = post_process.replace(',', '.');
$("#text-post_process").val(new_post_process);
}
}
//function paint graph