1 2; /* Start:"a:4:{s:4:"full";s:94:"/local/templates/.default/components/asd/subscribe.quick.form/journal/script.js?16687126171059";s:6:"source";s:79:"/local/templates/.default/components/asd/subscribe.quick.form/journal/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 3if (typeof($) !== 'undefined') { 4 $(document).ready(function() { 5 $('#asd_subscribe_submit').click(function(){ 6 if (!$.trim($('#asd_subscribe_form input[name$="asd_email"]').val()).length) { 7 return false; 8 } 9 var arPost = {}; 10 $.each($('#asd_subscribe_form input'), function() { 11 if ($(this).attr('type')!='checkbox' || ($(this).attr('type')=='checkbox' && $(this).is(':checked'))) { 12 arPost[$(this).attr('name')] = $(this).val(); 13 } 14 }) 15 $('#asd_subscribe_res').hide(); 16 $('#asd_subscribe_submit').attr('disabled', 'disabled'); 17 $.post('/bitrix/components/asd/subscribe.quick.form/action.php', arPost, 18 function(data) { 19 $('#asd_subscribe_submit').removeAttr('disabled'); 20 if (data.status == 'error') { 21 $('#asd_subscribe_res').css('color', 'red'); 22 } else { 23 $('#asd_subscribe_res').css('color', 'green'); 24 $('form#asd_subscribe_form').hide(500); 25 } 26 $('#asd_subscribe_res').html(data.message); 27 $('#asd_subscribe_res').show(); 28 }, 'json'); 29 return false; 30 }); 31 }); 32} 33/* End */ 34;; /* /local/templates/.default/components/asd/subscribe.quick.form/journal/script.js?16687126171059*/
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.