Removed code for yourid

removed code that will give the current user id in a var called yourid
This commit is contained in:
Josh
2014-01-20 20:54:19 +00:00
parent f14ad11dd0
commit a86ff15f7b
3 changed files with 4 additions and 6 deletions

View File

@@ -2,8 +2,7 @@ define(function() {
var Groups = {};
Groups.init = function() {
var yourid = templates.get('yourid'),
createEl = document.getElementById('create'),
var createEl = document.getElementById('create'),
createModal = $('#create-modal'),
createSubmitBtn = document.getElementById('create-modal-go'),
createNameEl = $('#create-group-name'),
@@ -172,6 +171,7 @@ define(function() {
groupMembersEl.on('click', 'li[data-uid]', function() {
var uid = this.getAttribute('data-uid'),
gid = detailsModal.attr('data-gid');
groups.getGidFromName('Administrators', function(err, gid) {});
bootbox.confirm('Are you sure you want to remove this user?', function(confirm) {
if (confirm){
socket.emit('admin.groups.leave', {