Skip to content

Commit

Permalink
Fix forms write task to take the hidden variables
Browse files Browse the repository at this point in the history
  • Loading branch information
clavay committed Dec 6, 2018
1 parent 1b31a6e commit cf7ed05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,7 @@ $('button.write-task-set').click(function(){

$('button.write-task-form-set').click(function(){
id_form = $(this.form).attr('id');
tabinputs = $('#'+id_form+ ' :text');
tabinputs = $.merge($('#'+id_form+ ' :text'),$('#'+id_form+ ' :input:hidden'));
for (i=0;i<tabinputs.length;i++){ //test if there is an empty or non numeric value
value = $(tabinputs[i]).val();
if (value == "" || isNaN(value)){
Expand Down

0 comments on commit cf7ed05

Please sign in to comment.