PageSourceSearch

https://german.clinic/local/templates/clinic/js/actions.js

js german.clinic collected 2026-10-04 00:07:02 UTC 776 bytes, 28 lines download raw bytes

1function add2LK(){
2  let val = $('#LK').prop("checked");
3  let id = $('#ACTION_ID').val();
4    $.ajax({
5      type: "POST",
6      url: "/local/ajax/add2LK.php",
7      data: 'id=' + id + '&val=' + val,
8    });
9}
10
11
12$(document).ready(function () {
13  $(document).on('click', '.reloadCaptcha', function () {
14    let $ctx = $(this);
15    let $parent = $ctx.closest('.captcha__field');
16    $.getJSON('/ajax/reload_captcha.php', function (data) {
17      $parent.find('img').attr('src', '/bitrix/tools/captcha.php?captcha_sid=' + data);
18      $parent.find('input[name=captcha_sid]').val(data);
19    });
20    return false;
21  });
22
23  $('body').on('click', '#callTouch-link-bottom', function(e){
24    e.preventDefault();
25    //console.log('clicked');
26    $('#callTouch-link').click();
27  });
28});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.