Browse Source

bug fix: live function is deprecated

pull/1147/head
hauke 8 years ago
parent
commit
76535578ba
  1. 4
      view/theme/frost-mobile/js/acl.js

4
view/theme/frost-mobile/js/acl.js

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

Loading…
Cancel
Save