1jQuery(function($) { 2 $(document).on('awsmJobBlockListingsData', function(event,parsedListingsAttrs) { 3 parsedListingsAttrs.push('position_filling'); 4 parsedListingsAttrs.push('featured_image_size'); 5 parsedListingsAttrs.push('excluded_jobs'); 6 }); 7 8 $(document).on('awsmJobBlockFiltersFormData', function(event,$wrapper,formData) { 9 var position_filling = $wrapper.data('position_filling'); 10 var featured_image_size = $wrapper.data('featured_image_size'); 11 var excluded_jobs = $wrapper.data('excluded_jobs'); 12 13 if (typeof position_filling !== 'undefined') { 14 formData.push({ 15 name: 'position_filling', 16 value: position_filling 17 }); 18 } 19 20 if (typeof featured_image_size !== 'undefined') { 21 formData.push({ 22 name: 'featured_image_size', 23 value: featured_image_size 24 }); 25 } 26 27 if (typeof excluded_jobs !== 'undefined') { 28 formData.push({ 29 name: 'excluded_jobs', 30 value: excluded_jobs 31 }); 32 } 33 34 }); 35 36 $(document).on('awsmjobs_block_load_more', function(event,$listingsContainer,wpData) { 37 var position_filling = $listingsContainer.data('position_filling'); 38 var featured_image_size = $listingsContainer.data('featured_image_size'); 39 var excluded_jobs = $listingsContainer.data('excluded_jobs'); 40 41 if (typeof position_filling !== 'undefined') { 42 wpData.push({ 43 name: 'position_filling', 44 value: position_filling 45 }); 46 } 47 48 if (typeof featured_image_size !== 'undefined') { 49 wpData.push({ 50 name: 'featured_image_size', 51 value: featured_image_size 52 }); 53 } 54 55 if (typeof excluded_jobs !== 'undefined') { 56 wpData.push({ 57 name: 'excluded_jobs', 58 value: excluded_jobs 59 }); 60 } 61 62 }); 63});
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.