more jquery migration

This commit is contained in:
friendica 2013-05-09 21:43:06 -07:00
parent 7dfea2c70d
commit d75be6dbe6

View File

@ -21,8 +21,8 @@ function ACL(backend_url, preset){
/*events*/ /*events*/
that.showall.click(that.on_showall); that.showall.click(that.on_showall);
$(".acl-button-show").live('click', that.on_button_show); $(document).on('click','.acl-button-show',that.on_button_show);
$(".acl-button-hide").live('click', that.on_button_hide); $(document).on('click','.acl-button-hide',that.on_button_hide);
$("#acl-search").keypress(that.on_search); $("#acl-search").keypress(that.on_search);
$("#acl-wrapper").parents("form").submit(that.on_submit); $("#acl-wrapper").parents("form").submit(that.on_submit);