/*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);
$('#jot-public').show();
$('.profile-jot-net input').attr('disabled', false);
if(typeof editor != 'undefined' && editor != false) {
- $('#profile-jot-desc').html(ispublic);
+ $('#profile-jot-desc').html(window.isPublic);
}
} else {
//console.log(html);
that.list_content.append(html);
});
+ $(".acl-list-item img[data-src]", that.list_content).each(function(i, el){
+ // Add src attribute for images with a data-src attribute
+ $(el).attr('src', $(el).data("src"));
+ });
that.update_view();
}