function doDeleteEntity(obj, url, param){
apex.ctrl.frm.showMsg({type:'confirm',body : 'Are you sure you want to delete the fields?', callback:function(){
$.ajax({
type : "POST",
//async : true,
url : url,
data : param,
dataType : 'json',
success : function(data) {
apex.ctrl.frm.showMsg({ type : 'info', body : 'Delete success' });
$(obj).remove();
}
});
}
});
}
apex.ctrl.frm.showMsg({type:'confirm',body : 'Are you sure you want to delete the fields?', callback:function(){
$.ajax({
type : "POST",
//async : true,
url : url,
data : param,
dataType : 'json',
success : function(data) {
apex.ctrl.frm.showMsg({ type : 'info', body : 'Delete success' });
$(obj).remove();
}
});
}
});
}