mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-07 23:44:17 +09:00
some changes to test droppable
This commit is contained in:
11
public/js/app.js
vendored
11
public/js/app.js
vendored
@@ -59,6 +59,17 @@ $.when( $.ready ).then(function() {
|
||||
});
|
||||
$("#sortable").sortable("disable");
|
||||
|
||||
$(".item-container").droppable({
|
||||
tolerance: "pointer",
|
||||
drop: function( event, ui ) {
|
||||
alert($( this ).data('id'));
|
||||
alert($( ui.draggable ).data('id'));
|
||||
$( this )
|
||||
.addClass( "ui-state-highlight" )
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('#app').on('click', '#config-button', function(e) {
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user