add a visual indicator (fade) on group membership change

This commit is contained in:
rabuzarus 2017-04-23 15:26:26 +02:00
parent e7914ecc95
commit 20a53e14ca

View file

@ -23,8 +23,10 @@ $(document).ready(function(){
* @returns {undefined} * @returns {undefined}
*/ */
function groupChangeMember(gid, cid, sec_token) { function groupChangeMember(gid, cid, sec_token) {
$("#contact-entry-wrapper-" + cid).fadeTo("fast", 0.33);
$(".tooltip").tooltip("hide"); $(".tooltip").tooltip("hide");
$("body").css("cursor", "wait"); $("body").css("cursor", "wait");
$.get('group/' + gid + '/' + cid + "?t=" + sec_token, function(data) { $.get('group/' + gid + '/' + cid + "?t=" + sec_token, function(data) {
// Insert the new group member list // Insert the new group member list
$("#group-update-wrapper").html(data); $("#group-update-wrapper").html(data);