You are not logged in.
Pages: 1
I m using BigTreeDialog in main.js .
I try to call it with this
$(".table").on("click",".icon_delete",function() {
new BigTreeDialog("Delete User",'<p class="confirm">Are you sure you want to delete this user?',
$.proxy(function() {
$.ajax("<?=WWW_ROOT?>ajax/delete/", { type: "POST", data: { id: $(this).attr("href").substr(1) } })
},this),"delete",false,"OK");
return false;
})
Catch this errors when click OK
When i use it without $.proxy , all work but Dialog not close when click OK .
Any help or advice is appreciated.
Thanks
Offline
The $.proxy allows the dialog to remember the link that was being clicked. Are you using this in a custom page in the admin or are you having trouble deleting users in general? What browser/version?
Offline
Pages: 1