1(function ($, Drupal) { 2 Drupal.behaviors.vrToggleBillingVisibility = { 3 attach: function(context, settings) { 4 if ($('body').hasClass('page-rescms-item-buy')) { 5 $('#edit-addresses-billing-same').change(function() { 6 var $t = $(this), 7 $parent = $t.parent('.form-item'); 8 9 if ($t.is(':checked')) { 10 $($parent).siblings().slideUp(); 11 } 12 else { 13 $($parent).siblings().slideDown(); 14 } 15 }); 16 } 17 } 18 } 19 20 Drupal.behaviors.vrOnLoadBillingVisibility = { 21 attach: function(context, settings) { 22 if ($('body').hasClass('page-rescms-item-buy')) { 23 var $el = $('#edit-addresses-billing-same'), 24 $parent = $el.parent('.form-item'); 25 26 if ($el.is(':checked')) { 27 $($parent).siblings().hide(); 28 } 29 else { 30 $($parent).siblings().show(); 31 } 32 } 33 } 34 } 35 36 37 // Removes soft keyboard from date input fields 38 Drupal.behaviors.disableSoftKeyboards = { 39 attach: function(context, settings) { 40 $('.affects-quote.hasDatepicker, #edit-rcav-begin, #edit-rcav-end', context).prop('readonly', true); 41 } 42 } 43 44})(jQuery, Drupal);
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.