
Runner.buttonEvents["New_Button4"]=function(pageObj,proxy,pageid){pageObj.buttonNames[pageObj.buttonNames.length]='New_Button4';if(!pageObj.buttonEventBefore['New_Button4']){pageObj.buttonEventBefore['New_Button4']=function(params,ctrl,pageObj,proxy,pageid,rowData,row,submit){var ajax=ctrl;if(confirm("Are you sure you want to set ALL records to 'Waiting'?")){return true;}else{return false;}}}
if(!pageObj.buttonEventAfter['New_Button4']){pageObj.buttonEventAfter['New_Button4']=function(result,ctrl,pageObj,proxy,pageid,rowData,row,params){var ajax=ctrl;location.reload();}}
$('a[id="New_Button4"]').each(function(){if($(this).closest('.gridRowAdd').length){return;}
this.id="New_Button4"+"_"+Runner.genId();var button_New_Button4=new Runner.form.Button({id:this.id,btnName:"New_Button4"});button_New_Button4.init({args:[pageObj,proxy,pageid]});});};