Commit 4ca389633ac39bce7ecc2a887603d8c02408e715

Authored by Leandro Santos
1 parent 2f39fa20
Exists in staging

adding textarea fields on acceptance and rejection of tasks

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
public/javascripts/tasks.js
@@ -9,8 +9,8 @@ @@ -9,8 +9,8 @@
9 reject_container.hide('fast'); 9 reject_container.hide('fast');
10 $('#on-skip-information-' + task_id).hide('fast'); 10 $('#on-skip-information-' + task_id).hide('fast');
11 $('#custom-field-information-' + task_id).show('fast'); 11 $('#custom-field-information-' + task_id).show('fast');
12 - reject_container.find('input, select').prop('disabled', true);  
13 - accept_container.find('input, select').prop('disabled', false); 12 + reject_container.find('input, select, textarea').prop('disabled', true);
  13 + accept_container.find('input, select, textarea').prop('disabled', false);
14 }) 14 })
15 15
16 $("input.task_reject_radio").click(function(){ 16 $("input.task_reject_radio").click(function(){
@@ -22,8 +22,8 @@ @@ -22,8 +22,8 @@
22 reject_container.show('fast'); 22 reject_container.show('fast');
23 $('#on-skip-information-' + task_id).hide('fast'); 23 $('#on-skip-information-' + task_id).hide('fast');
24 $('#custom-field-information-' + task_id).show('fast'); 24 $('#custom-field-information-' + task_id).show('fast');
25 - reject_container.find('input, select').prop('disabled', false);  
26 - accept_container.find('input, select').prop('disabled', true); 25 + reject_container.find('input, select, textarea').prop('disabled', false);
  26 + accept_container.find('input, select, textarea').prop('disabled', true);
27 }) 27 })
28 28
29 $("input.task_skip_radio").click(function(){ 29 $("input.task_skip_radio").click(function(){