
Runner.buttonEvents["New_Button1"]=function(pageObj,proxy,pageid){pageObj.buttonNames[pageObj.buttonNames.length]='New_Button1';if(!pageObj.buttonEventBefore['New_Button1']){pageObj.buttonEventBefore['New_Button1']=function(params,ctrl,pageObj,proxy,pageid,rowData,row,submit){var ajax=ctrl;}}
if(!pageObj.buttonEventAfter['New_Button1']){pageObj.buttonEventAfter['New_Button1']=function(result,ctrl,pageObj,proxy,pageid,rowData,row,params){var ajax=ctrl;location.href="http://greenway.ebizso.com/sales_add.php";}}
$('a[id="New_Button1"]').each(function(){if($(this).closest('.gridRowAdd').length){return;}
this.id="New_Button1"+"_"+Runner.genId();var button_New_Button1=new Runner.form.Button({id:this.id,btnName:"New_Button1"});button_New_Button1.init({args:[pageObj,proxy,pageid]});});};