Merge branch 'master' of github.com:designcreateplay/NodeBB

v1.18.x
Julian Lam 11 years ago
commit 790b0f98d4

@ -155,6 +155,7 @@ define(['forum/admin/settings'], function(Settings) {
if (!el.hasClass('block')) { if (!el.hasClass('block')) {
el.addClass('block') el.addClass('block')
.droppable({ .droppable({
accept: '[data-container-html]',
drop: function(event, ui) { drop: function(event, ui) {
var el = $(this); var el = $(this);

@ -122,6 +122,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
return; return;
} }
$(window).trigger('action:categories.loading');
loadingMoreTopics = true; loadingMoreTopics = true;
socket.emit('categories.loadMore', { socket.emit('categories.loadMore', {
cid: cid, cid: cid,
@ -136,6 +137,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
$('#topics-container').attr('data-nextstart', data.nextStart); $('#topics-container').attr('data-nextstart', data.nextStart);
} }
loadingMoreTopics = false; loadingMoreTopics = false;
$(window).trigger('action:categories.loaded');
}); });
} }

Loading…
Cancel
Save