delta-ico

This commit is contained in:
LC 2023-11-04 11:39:07 +01:00
parent 6ff31d4d1a
commit c55c0479b1
1 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ function dirs() {
for(var i = 0; i < result.length; i++) {
directoryDOM.append(function(i) {
var textshort = result[i];
textshort = textshort.replace("site/file/source/","");
textshort = textshort.replace("site/file/source/","");
var option = $("<option>").val(result[i]).text(textshort);
if(directoryOldDOM.val() === result[i]) {
option.prop("selected", true);
@ -65,11 +65,11 @@ $( document ).ready(function() {
if ($("#galleryEditSort").val() !== "SORT_HAND") {
$("#galleryTable tr").addClass("nodrag nodrop");
$(".zwiico-sort").hide();
$(".delta-ico-sort").hide();
$("#galleryTable").tableDnDUpdate();
} else {
$("#galleryTable tr").removeClass("nodrag nodrop");
$(".zwiico-sort").show();
$(".delta-ico-sort").show();
$("#galleryTable").tableDnDUpdate();
}
@ -78,11 +78,11 @@ $( document ).ready(function() {
$("#galleryEditSort").change(function() {
if ($("#galleryEditSort").val() !== "SORT_HAND") {
$("#galleryTable tr").addClass("nodrag nodrop");
$(".zwiico-sort").hide();
$(".delta-ico-sort").hide();
$("#galleryTable").tableDnDUpdate();
} else {
$("#galleryTable tr").removeClass("nodrag nodrop");
$(".zwiico-sort").show();
$(".delta-ico-sort").show();
$("#galleryTable").tableDnDUpdate();
}
});