update.js 659 B

12345678910111213141516171819202122232425
  1. $().ready(function()
  2. {
  3. $('input[type=radio]').change(function()
  4. {
  5. if($(this).val() == 'yes' && $(this).prop('checked'))
  6. {
  7. $(this).parents('td').next().find('textarea').hide().prop('disabled', true);
  8. }
  9. else
  10. {
  11. $(this).parents('td').next().find('textarea').show().prop('disabled', false);
  12. }
  13. });
  14. $('input[type=radio]').change();
  15. });
  16. function changeExecution(param)
  17. {
  18. var executionID = $("#execution option:selected").val();
  19. var link = createLink('pssp', 'update', param + executionID);
  20. $(location).attr('href', link);
  21. }
  22. $('[data-toggle="popover"]').popover();