do not update #acl-list-content on every click in jot. we just need this updated when in cutom mode (which is rarely the case). jot interaction was getting sluggish due to this when having lots of contacts.

This commit is contained in:
Mario Vavti 2018-05-20 11:12:39 +02:00
parent a3f9cf7e97
commit 18338495af

View File

@ -326,6 +326,7 @@ ACL.prototype.update_view = function(value) {
}
}
if(value === 'custom') {
$("#acl-list-content .acl-list-item").each(function() {
$(this).removeClass("groupshow grouphide");
});
@ -379,6 +380,7 @@ ACL.prototype.update_view = function(value) {
}
}
});
}
};
ACL.prototype.get = function(start, count, search) {