Merge remote-tracking branch 'upstream/master'

v1.18.x
Aziz Khoury 11 years ago
commit 4fad334e18

@ -38,7 +38,7 @@
"prompt": "~0.2.11",
"uglify-js": "~2.4.0",
"validator": "~1.5.1",
"nodebb-plugin-mentions": "~0.2",
"nodebb-plugin-mentions": "~0.3",
"nodebb-plugin-markdown": "~0.3",
"nodebb-theme-vanilla": "~0.0.13",
"nodebb-theme-cerulean": "~0.0.12",

@ -171,13 +171,17 @@ define(function() {
groupMembersEl.on('click', 'li[data-uid]', function() {
var uid = this.getAttribute('data-uid'),
gid = detailsModal.attr('data-gid');
socket.emit('admin.groups.leave', {
gid: gid,
uid: uid
}, function(err, data) {
if (!err) {
groupMembersEl.find('li[data-uid="' + uid + '"]').remove();
bootbox.confirm('Are you sure you want to remove this user?', function(confirm) {
if (confirm){
socket.emit('admin.groups.leave', {
gid: gid,
uid: uid
}, function(err, data) {
if (!err) {
groupMembersEl.find('li[data-uid="' + uid + '"]').remove();
}
});
}
});
});

@ -114,7 +114,7 @@ define(function() {
for (var x = 0; x < numThemes; x++) {
var theme = bootswatch.themes[x];
themeEl.setAttribute('data-css', theme.cssMin);
themeEl.setAttribute('data-css', theme.cssCdn);
themeEl.setAttribute('data-theme', theme.name);
themeEl.innerHTML = '<img src="' + theme.thumbnail + '" />' +
'<div>' +

@ -131,7 +131,8 @@ define(['taskbar', 'string'], function(taskbar, S) {
chatModal.draggable({
start:function() {
module.bringModalToTop(chatModal);
}
},
handle: '.modal-header'
});
chatModal.find('#chat-with-name').html(username);

@ -95,4 +95,4 @@
</div>
</div>
</div>
</div>
</div>
Loading…
Cancel
Save