#1 Developer Help » Issues Using BigTreeDialog » August 12, 2014 9:48pm

kshiro
Replies: 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
20142d78f966-8078-43d5-ad93-1101542f9aa3.jpeg

When i use  it without $.proxy , all work but Dialog not close when click OK .

Any help or advice is appreciated.
Thanks

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.