Blame view

resources/views/js/vacancy-response.blade.php 466 Bytes
3256f8927   Fedor   task-132687 minor...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  <script>
      $(document).on('click', '.ask_comment', function() {
          var this_ = $(this);
  
          $('#modal_user_id').val(this_.attr('data-uid'));
          $('#modal_to_user_id').val(this_.attr('data-tuid'));
          $('#modal_vacancy').val(this_.attr('data-vacancy'));
      });
  
      $(document).on('click', '.ask_percent', function() {
          $('#modal_vacancy')
              .val($(this).attr('data-vacancy'))
              .trigger('change');
      });
  </script>