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