interim commit

v1.18.x
Julian Lam 12 years ago
parent 85ac4aac94
commit c0a90bd677

@ -61,7 +61,15 @@ $(document).ready(function() {
break;
case 'members':
socket.emit('api:groups.get', gid, function(err, groupObj) {
var formEl = detailsModal.find('form'),
nameEl = formEl.find('change-group-name'),
descEl = formEl.find('change-group-desc'),
membersEl = formEl.find('ul.members');
nameEl.val(groupObj.name);
descEl.cal(groupObj.description);
console.log(groupObj);
detailsModal.modal('show');
});
break;

@ -74,11 +74,11 @@
<form>
<div class="form-group">
<label for="group-name">Group Name</label>
<input type="text" class="form-control" id="create-group-name" placeholder="Group Name" />
<input type="text" class="form-control" id="change-group-name" placeholder="Group Name" />
</div>
<div class="form-group">
<label for="group-name">Description</label>
<input type="text" class="form-control" id="create-group-desc" placeholder="A short description about your group" />
<input type="text" class="form-control" id="change-group-desc" placeholder="A short description about your group" />
</div>
<div class="form-group">
<label>Members</label>

Loading…
Cancel
Save