1(function($) 2{ 3 4 bookneticHooks.addFilter('step_validation_staff' , function ( result , booknetic ) 5 { 6 if( !( booknetic.getSelected.staff() > 0 || booknetic.getSelected.staff() == -1 ) ) 7 { 8 return { 9 status: false, 10 errorMsg: booknetic.__('select_staff') 11 }; 12 } 13 14 return result 15 }); 16 17 bookneticHooks.addAction('before_step_loading', function( booknetic, new_step_id, old_step_id ) 18 { 19 if( new_step_id !== 'staff' ) 20 return; 21 22 booknetic.stepManager.loadStandartSteps( new_step_id, old_step_id ); 23 }); 24 25})(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.