"sLengthMenu":'{% trans "Display" %} <select><option value="25">25</option><option value="50">50</option><option value="-1">{% trans "All" %}</option></select> {% trans "contacts" %}',
"sProcessing":"Processing...",
"sZeroRecords":'{% trans "No records to display" %}',
"sInfo":"Showing _START_ to _END_ of _TOTAL_ entries",
"sInfoEmpty":"{% trans "Showing0to0of0entries" %}",
"sInfoFiltered":"(filtered from _MAX_ total entries)",
"sInfoPostFix":"",
"sSearch":'{% trans "Search:" %}',
"sUrl":"",
"oPaginate":{
"sFirst":'{% trans "First" %}',
"sPrevious":'{% trans "Previous" %}',
"sNext":'{% trans "Next" %}',
"sLast":'{% trans "Last" %}'
}
}
});
oTable.fnDraw();
$('[id^=del_contact_]').click(function(){
contact_id=(this.id).replace("del_contact_",'');
name=this.getAttribute("data-contactname");
$("#mymodalbody").html("You are about to delete contact: <b>"+name+"</b><br>Press Delete to proceed or Cancel to cancel deletion");