1( function ( $ ) { 2 $ ( document ) . ready ( function ( ) { 3 var $transportAndPaymentForm = $ ( '#transport_and_payment_form' ); 4 $transportAndPaymentForm.jsFormValidator ( { callbacks : { validateTransportPaymentRelation : function ( ) { 5 ; 6 }, validateCzechPostOfficeTransport : function ( ) { 7 ; 8 }, validateTransportHasSelectedBranch : function ( ) { 9 ; 10 } } } ); 11 var $orderPersonalInfoForm = $ ( 'form[name="order_personal_info_form"]' ); 12 $orderPersonalInfoForm.jsFormValidator ( { 'groups' : function ( ) { 13 var groups = [ "Default" ]; 14 var isDeliveryAddressSameAsBillingAddress = $orderPersonalInfoForm.find ( '#order_personal_info_form_deliveryAddressFilled' ) . is ( ':checked' ); 15 var isCzechPostOfficeTransport = $orderPersonalInfoForm.find ( '.js-order-transport-input:checked' ) . data ( 'deliver-to-post-office' ); 16 if ( isDeliveryAddressSameAsBillingAddress && ! isCzechPostOfficeTransport ) { 17 groups.push ( "validateDeliveryAddress" ); 18 } 19 if ( $orderPersonalInfoForm.find ( '#order_personal_info_form_companyCustomer' ) . is ( ':checked' ) ) { 20 groups.push ( "companyCustomer" ); 21 } 22 return groups; 23 } } ); 24 $orderPersonalInfoForm.jsFormValidator ( { callbacks : { validateTransportPaymentRelation : function ( ) { 25 ; 26 }, validateCzechPostOfficeTransport : function ( ) { 27 ; 28 }, validateTransportHasSelectedBranch : function ( ) { 29 ; 30 } } } ); 31 } ); 32} ) ( jQuery );
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.