
Runner.buttonEvents["to_c_acc"]=function(pageObj,proxy,pageid){pageObj.buttonNames[pageObj.buttonNames.length]='to_c_acc';if(!pageObj.buttonEventBefore['to_c_acc']){pageObj.buttonEventBefore['to_c_acc']=function(params,ctrl,pageObj,proxy,pageid,rowData,row,submit){var ajax=ctrl;}}
if(!pageObj.buttonEventAfter['to_c_acc']){pageObj.buttonEventAfter['to_c_acc']=function(result,ctrl,pageObj,proxy,pageid,rowData,row,params){var ajax=ctrl;location.reload();}}
$('a[id="to_c_acc"]').each(function(){if($(this).closest('.gridRowAdd').length){return;}
this.id="to_c_acc"+"_"+Runner.genId();var button_to_c_acc=new Runner.form.Button({id:this.id,btnName:"to_c_acc"});button_to_c_acc.init({args:[pageObj,proxy,pageid]});});};