license.ui.js 400 B

123456789101112131415161718192021
  1. /**
  2. * When agree checkbox change.
  3. *
  4. * @param event $event
  5. * @access public
  6. * @return void
  7. */
  8. function agreeChange(event)
  9. {
  10. if($(event.target).prop('checked'))
  11. {
  12. $('.btn-install').attr('href', nextLink);
  13. $('.btn-install').removeClass('disabled');
  14. }
  15. else
  16. {
  17. $('.btn-install').removeAttr('href');
  18. $('.btn-install').addClass('disabled');
  19. }
  20. }