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++) {
|
for(var i = 0; i < result.length; i++) {
|
||||||
directoryDOM.append(function(i) {
|
directoryDOM.append(function(i) {
|
||||||
var textshort = result[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);
|
var option = $("<option>").val(result[i]).text(textshort);
|
||||||
if(directoryOldDOM.val() === result[i]) {
|
if(directoryOldDOM.val() === result[i]) {
|
||||||
option.prop("selected", true);
|
option.prop("selected", true);
|
||||||
|
@ -65,11 +65,11 @@ $( document ).ready(function() {
|
||||||
|
|
||||||
if ($("#galleryEditSort").val() !== "SORT_HAND") {
|
if ($("#galleryEditSort").val() !== "SORT_HAND") {
|
||||||
$("#galleryTable tr").addClass("nodrag nodrop");
|
$("#galleryTable tr").addClass("nodrag nodrop");
|
||||||
$(".zwiico-sort").hide();
|
$(".delta-ico-sort").hide();
|
||||||
$("#galleryTable").tableDnDUpdate();
|
$("#galleryTable").tableDnDUpdate();
|
||||||
} else {
|
} else {
|
||||||
$("#galleryTable tr").removeClass("nodrag nodrop");
|
$("#galleryTable tr").removeClass("nodrag nodrop");
|
||||||
$(".zwiico-sort").show();
|
$(".delta-ico-sort").show();
|
||||||
$("#galleryTable").tableDnDUpdate();
|
$("#galleryTable").tableDnDUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,11 +78,11 @@ $( document ).ready(function() {
|
||||||
$("#galleryEditSort").change(function() {
|
$("#galleryEditSort").change(function() {
|
||||||
if ($("#galleryEditSort").val() !== "SORT_HAND") {
|
if ($("#galleryEditSort").val() !== "SORT_HAND") {
|
||||||
$("#galleryTable tr").addClass("nodrag nodrop");
|
$("#galleryTable tr").addClass("nodrag nodrop");
|
||||||
$(".zwiico-sort").hide();
|
$(".delta-ico-sort").hide();
|
||||||
$("#galleryTable").tableDnDUpdate();
|
$("#galleryTable").tableDnDUpdate();
|
||||||
} else {
|
} else {
|
||||||
$("#galleryTable tr").removeClass("nodrag nodrop");
|
$("#galleryTable tr").removeClass("nodrag nodrop");
|
||||||
$(".zwiico-sort").show();
|
$(".delta-ico-sort").show();
|
||||||
$("#galleryTable").tableDnDUpdate();
|
$("#galleryTable").tableDnDUpdate();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue