[Git][noosfero/noosfero][master] adding textarea fields on acceptance and rejection of tasks

Leandro Nunes gitlab at mg.gitlab.com
Thu Sep 1 19:41:05 BRT 2016


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
4ca38963 by Leandro Nunes dos Santos at 2016-09-01T19:40:50-03:00
adding textarea fields on acceptance and rejection of tasks

- - - - -


1 changed file:

- public/javascripts/tasks.js


Changes:

=====================================
public/javascripts/tasks.js
=====================================
--- a/public/javascripts/tasks.js
+++ b/public/javascripts/tasks.js
@@ -9,8 +9,8 @@
     reject_container.hide('fast');
     $('#on-skip-information-'   + task_id).hide('fast');
     $('#custom-field-information-' + task_id).show('fast');
-    reject_container.find('input, select').prop('disabled', true);
-    accept_container.find('input, select').prop('disabled', false);
+    reject_container.find('input, select, textarea').prop('disabled', true);
+    accept_container.find('input, select, textarea').prop('disabled', false);
   })
 
   $("input.task_reject_radio").click(function(){
@@ -22,8 +22,8 @@
     reject_container.show('fast');
     $('#on-skip-information-'   + task_id).hide('fast');
     $('#custom-field-information-' + task_id).show('fast');
-    reject_container.find('input, select').prop('disabled', false);
-    accept_container.find('input, select').prop('disabled', true);
+    reject_container.find('input, select, textarea').prop('disabled', false);
+    accept_container.find('input, select, textarea').prop('disabled', true);
   })
 
   $("input.task_skip_radio").click(function(){



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/4ca389633ac39bce7ecc2a887603d8c02408e715
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160901/d39a4496/attachment-0001.html>


More information about the Noosfero-dev mailing list