1function check_form_fields(form, hash) { 2 $(form).find('input[name=PARAMS_HASH]').val(hash); 3 4 $(form).find('input, textarea').each(function () { 5 $(this).focus(function () { 6 if ($(this).val() == $(this).attr('alt')) { 7 $(this).val(''); 8 } 9 }); 10 $(this).blur(function () { 11 if ($(this).val() == '') { 12 $(this).val($(this).attr('alt')); 13 } 14 }); 15 }); 16 $('.bitrix-captcha').click(function () { 17 var _this = $(this); 18 $.getJSON(SITE_DIR + '.ajax/reload_captcha.php', function (data) { 19 _this.attr('src', '/bitrix/tools/captcha.php?captcha_sid=' + data); 20 _this.prev().val(data); 21 }); 22 }); 23}
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.