From 76535578ba1a2a3ad23db00b3010fec859b3b573 Mon Sep 17 00:00:00 2001 From: hauke Date: Mon, 15 Sep 2014 19:48:17 +0200 Subject: [PATCH] bug fix: live function is deprecated --- view/theme/frost-mobile/js/acl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/theme/frost-mobile/js/acl.js b/view/theme/frost-mobile/js/acl.js index c3b6092f30..4ce8b869c3 100644 --- a/view/theme/frost-mobile/js/acl.js +++ b/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); -- 2.39.5