/*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);
}
ACL.prototype.remove_mention = function(id) {
- if (!that.aclautomention) return;
+ if (!that.automention) return;
var nick = that.data[id].nick;
var searchText = "@"+nick+"+"+id+" ";
if (tinyMCE.activeEditor===null) {
}
ACL.prototype.add_mention = function(id) {
- if (!that.aclautomention) return;
+ if (!that.automention) return;
var nick = that.data[id].nick;
var searchText = "@"+nick+"+"+id+" ";
if (tinyMCE.activeEditor===null) {