delta-ico
This commit is contained in:
parent
6ff31d4d1a
commit
c55c0479b1
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue