mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
fixes #4992
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
border: 1px solid #eee;
|
border: 1px solid #eee;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ define('admin/general/navigation', ['translator', 'iconSelect'], function(transl
|
|||||||
});
|
});
|
||||||
|
|
||||||
translator.translate(translator.unescape($('#available').html()), function(html) {
|
translator.translate(translator.unescape($('#available').html()), function(html) {
|
||||||
|
app.loadJQueryUI(function() {
|
||||||
$('#available').html(html)
|
$('#available').html(html)
|
||||||
.find('li .drag-item').draggable({
|
.find('li .drag-item').draggable({
|
||||||
connectToSortable: '#active-navigation',
|
connectToSortable: '#active-navigation',
|
||||||
@@ -21,10 +22,14 @@ define('admin/general/navigation', ['translator', 'iconSelect'], function(transl
|
|||||||
stop: drop
|
stop: drop
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
app.loadJQueryUI(function() {
|
||||||
|
|
||||||
$('#active-navigation').sortable().droppable({
|
$('#active-navigation').sortable().droppable({
|
||||||
accept: $('#available li .drag-item')
|
accept: $('#available li .drag-item')
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
$('#enabled').on('click', '.iconPicker', function() {
|
$('#enabled').on('click', '.iconPicker', function() {
|
||||||
var iconEl = $(this).find('i');
|
var iconEl = $(this).find('i');
|
||||||
|
|||||||
Reference in New Issue
Block a user