1// this is for all custom special js changes on every page under my company 2ACC.myCompany = { 3 4 _autoload: [ 5 ["customerOrManagerGroup", $('#dawB2BCustomerForm').length > 0] 6 ], 7 8 customerOrManagerGroup: function () { 9 var $customerGroup = $('#b2bcustomergroup'); 10 var $managerGroup = $('#b2bmanagergroup'); 11 12 function checkOneOrTheOther(e) { 13 if(e.target == $customerGroup[0]){ 14 $managerGroup.prop('checked', false); 15 } else if(e.target == $managerGroup[0]){ 16 $customerGroup.prop('checked', false); 17 } 18 } 19 $customerGroup.bind( "change", checkOneOrTheOther); 20 $managerGroup.bind( "change", checkOneOrTheOther); 21 } 22}
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.