Correct Fixes from files component + Jenkins First Ver
All checks were successful
Neutral/pipeline/head This commit looks good
All checks were successful
Neutral/pipeline/head This commit looks good
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
|
||||
const currentDir = document.getElementById("fi_current_directory")
|
||||
const fileExplorer = document.getElementById("fileExplorer")
|
||||
const fileExplorerError = fileExplorer.outerHTML
|
||||
const fileExplorerError = '<div id="last_directory" class="fi_file"><p style="margin-left: 1vw;text-align:start;margin-bottom: 1vw !important;"><i class="fa fa-arrow-left"></i> Revenir au dossier parent</p></div>' + fileExplorer.outerHTML
|
||||
|
||||
getDirectory(currentDir.value)
|
||||
|
||||
@ -65,6 +65,7 @@
|
||||
|
||||
|
||||
if(response.result == "failed") {
|
||||
fileExplorerList.push('<div id="last_directory" class="fi_file"><p style="margin-left: 1vw;text-align:start;margin-bottom: 1vw !important;"><i class="fa fa-arrow-left"></i> Revenir au dossier parent</p></div>')
|
||||
content.innerHTML = ' <h1 style="color:red;"><i style="color:yellow; font-size: 2vw;" class="fa fa-warning"></i> Erreur de chargement des données - Erreur : ' + response.content + '</h1>'
|
||||
console.log("FAILED")
|
||||
|
||||
@ -255,6 +256,10 @@
|
||||
|
||||
currentDir.value = cdSplit.join("/")
|
||||
|
||||
if(currentDir.value == "") {
|
||||
currentDir.value = "/"
|
||||
}
|
||||
|
||||
getDirectory(currentDir.value)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user