|
@@ -103,7 +103,7 @@ function deleteFolder(datalink) {
|
|
|
|
|
|
function listData(folder = ""){
|
|
|
$('#Data').text("");
|
|
|
- const imageext = ["png", "jpg", "svg"]
|
|
|
+ const imageext = ["png", "jpg", "svg", "JPG", "PNG", "SVG"]
|
|
|
const movieext = ["mp4"]
|
|
|
$('#imgUpload').attr("action", "../server/data/" + folder);
|
|
|
|
|
@@ -179,7 +179,7 @@ function triggerEvent(data) {
|
|
|
function overlayOn(data) {
|
|
|
var url = new URL("../storage/" + data, document.baseURI).href
|
|
|
document.getElementById("overlay").style.display = "block";
|
|
|
- const imageext = ["png", "jpg", "svg"]
|
|
|
+ const imageext = ["png", "jpg", "svg", "PNG", "JPG", "SVG"]
|
|
|
const movieext = ["mp4"]
|
|
|
var ext = url.substr(url.lastIndexOf('.') + 1);
|
|
|
|
|
@@ -303,7 +303,7 @@ function listExternalFolders(folder = ""){
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
listFolders();
|
|
|
- listExternalFolders();
|
|
|
+ //listExternalFolders();
|
|
|
getAllFolders();
|
|
|
});
|
|
|
|