v1.18.x
Julian Lam 11 years ago
parent ee44778e2b
commit f5d1ba4231

@ -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'
}); });

Loading…
Cancel
Save