mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
closed #1113
This commit is contained in:
@@ -68,7 +68,8 @@ define(['uploader'], function(uploader) {
|
||||
$('#entry-container').sortable({
|
||||
stop: function( event, ui ) {
|
||||
updateCategoryOrders();
|
||||
}
|
||||
},
|
||||
distance: 10
|
||||
});
|
||||
$('.blockclass').each(function() {
|
||||
$(this).val(this.getAttribute('data-value'));
|
||||
|
||||
@@ -139,6 +139,7 @@ define(['forum/admin/settings'], function(Settings) {
|
||||
helper: function(e) {
|
||||
return $(e.target).parents('.panel').clone().addClass('block').width($(e.target.parentNode).width());
|
||||
},
|
||||
distance: 10,
|
||||
connectToSortable: ".widget-area"
|
||||
});
|
||||
|
||||
@@ -148,7 +149,8 @@ define(['forum/admin/settings'], function(Settings) {
|
||||
target = target.attr('data-container-html') ? target : target.parents('[data-container-html]');
|
||||
|
||||
return target.clone().addClass('block').width(target.width()).css('opacity', '0.5');
|
||||
}
|
||||
},
|
||||
distance: 10
|
||||
});
|
||||
|
||||
function appendToggle(el) {
|
||||
|
||||
@@ -130,6 +130,7 @@ define(['taskbar', 'string'], function(taskbar, S) {
|
||||
stop:function() {
|
||||
chatModal.find('#chat-message-input').focus();
|
||||
},
|
||||
distance: 10,
|
||||
handle: '.modal-header'
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user