function updateUserRow(profile){

            var rowId = setRowId(profile);
            var $row  = $(document.getElementById(rowId));

            // full name column
            $row.find('a.full-name')
                .text(profile.lastName + ', ' + profile.firstName);

            // email column
            $row.find('a.send-email')
                .attr('title', profile.email + ': send email')
                .text(profile.email);

            // verified status column
            $row.find('td.verified')
                .empty()
                .append(userStatusInfo.call(profile, 'verified', 'unverified'));

            // enabled status column
            $row.find('td.enabled')
                .empty()
                .append(userStatusInfo.call(profile, 'enabled', 'disabled'));

            // active status column
            $row.find('td.active')
                .empty()
                .append(activeUserInfo.call(profile));

            // last login column
            $row.find('td.last-login')
                .empty()
                .append(lastLoginInfo(profile.lastSuccessfulLogin));

        }
// update ONLY the row of the edited user
update ONLY the row of the edited user
update ONLY the row of the edited user
function updateUserRow(profile){
            var rowId = setRowId(profile);
            var $row  = $(document.getElementById(rowId));
            $row.find('a.full-name')
                .text(profile.lastName + ', ' + profile.firstName);
            $row.find('a.send-email')
                .attr('title', profile.email + ': send email')
                .text(profile.email);
            $row.find('td.verified')
                .empty()
                .append(userStatusInfo.call(profile, 'verified', 'unverified'));
            $row.find('td.enabled')
                .empty()
                .append(userStatusInfo.call(profile, 'enabled', 'disabled'));
            $row.find('td.active')
                .empty()
                .append(activeUserInfo.call(profile));
            $row.find('td.last-login')
                .empty()
                .append(lastLoginInfo(profile.lastSuccessfulLogin));
        }
function updateUserRow ( profile ) { var rowId = setRowId ( profile ) ; var $row = $ ( document . getElementById ( rowId ) ) ; $row . find ( 'a.full-name' ) . text ( profile . lastName + ', ' + profile . firstName ) ; $row . find ( 'a.send-email' ) . attr ( 'title' , profile . email + ': send email' ) . text ( profile . email ) ; $row . find ( 'td.verified' ) . empty ( ) . append ( userStatusInfo . call ( profile , 'verified' , 'unverified' ) ) ; $row . find ( 'td.enabled' ) . empty ( ) . append ( userStatusInfo . call ( profile , 'enabled' , 'disabled' ) ) ; $row . find ( 'td.active' ) . empty ( ) . append ( activeUserInfo . call ( profile ) ) ; $row . find ( 'td.last-login' ) . empty ( ) . append ( lastLoginInfo ( profile . lastSuccessfulLogin ) ) ; }
update ONLY the row of the edited user
update ONLY the row of the edited user
// full name column // email column // verified status column // enabled status column // active status column // last login column