Fixed alphabet ordering and cleaned up xml data return.
This commit is contained in:
parent
2f22d109cd
commit
24d4f20baf
@ -7,7 +7,6 @@ const handleXMLReturnData = (data) => {
|
|||||||
} else if (data.activeElement.tagName == "LOCK_MESSAGE") {
|
} else if (data.activeElement.tagName == "LOCK_MESSAGE") {
|
||||||
createPassField(data);
|
createPassField(data);
|
||||||
} else if (data.activeElement.tagName == "SERV_MSG") {
|
} else if (data.activeElement.tagName == "SERV_MSG") {
|
||||||
console.log(document.getElementById("serverMsgView"));
|
|
||||||
document.getElementById("serverMsgView").appendChild(data.activeElement);
|
document.getElementById("serverMsgView").appendChild(data.activeElement);
|
||||||
} else if (data.activeElement.tagName == "FAVES_LIST") {
|
} else if (data.activeElement.tagName == "FAVES_LIST") {
|
||||||
generateFavesList(data);
|
generateFavesList(data);
|
||||||
@ -50,7 +49,7 @@ const updateHTMLDirList = async (data) => {
|
|||||||
insertArea.innerHTML = "";
|
insertArea.innerHTML = "";
|
||||||
|
|
||||||
// Setup background if there is a 000.* in selection
|
// Setup background if there is a 000.* in selection
|
||||||
let bgImgPth = images[0] ? images[0].children[0].innerHTML : "";
|
let bgImgPth = images[0] ? images[0].innerHTML : "";
|
||||||
if (bgImgPth.match(/000\.(jpg|png|gif)\b/) != null) {
|
if (bgImgPth.match(/000\.(jpg|png|gif)\b/) != null) {
|
||||||
updateBG(dirPath + bgImgPth);
|
updateBG(dirPath + bgImgPth);
|
||||||
} else {
|
} else {
|
||||||
@ -84,7 +83,6 @@ const updateHTMLDirList = async (data) => {
|
|||||||
let thumbnail = "";
|
let thumbnail = "";
|
||||||
let vidNme = "";
|
let vidNme = "";
|
||||||
size = videos.length;
|
size = videos.length;
|
||||||
console.log(videos);
|
|
||||||
|
|
||||||
sortVidElms(videos);
|
sortVidElms(videos);
|
||||||
for (i = 0; i < size; i++) {
|
for (i = 0; i < size; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user