|
@ -45,6 +45,23 @@ $.when( $.ready ).then(function() { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function readURL(input) { |
|
|
|
|
|
|
|
|
|
|
|
if (input.files && input.files[0]) { |
|
|
|
|
|
var reader = new FileReader(); |
|
|
|
|
|
|
|
|
|
|
|
reader.onload = function(e) { |
|
|
|
|
|
$('#appimage img').attr('src', e.target.result); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
reader.readAsDataURL(input.files[0]); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$("#upload").change(function() { |
|
|
|
|
|
readURL(this); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
$( "#sortable" ).sortable({ |
|
|
$( "#sortable" ).sortable({ |
|
|
stop: function (event, ui) { |
|
|
stop: function (event, ui) { |
|
|
var idsInOrder = $("#sortable").sortable('toArray', { |
|
|
var idsInOrder = $("#sortable").sortable('toArray', { |
|
|