FILEUP



LOG | FILES | OVERVIEW


F diff --git a/loggedin.js b/loggedin.js --- a/loggedin.js +++ b/loggedin.js
this.pwd = pwd; // pwd = [ "Folder1", "Folder2" ] means the current directory of that window is /Folder1/Folder2
this.visuals = null; // The DOM object
this.h2 = null; // The titlebar of the window
+ this.fileview = null;
}
}
focus.filecontents.classList.remove('imgview');
focus.filecontents.style.backgroundImage = "unset";
- var pre = mk(focus.filecontents, 'pre');
+ wnd.pre = mk(focus.filecontents, 'pre');
xhr.onload = function () {
- pre.innerText = xhr.responseText;
- pre.contentEditable = "true";
+ wnd.pre.innerText = xhr.responseText;
+ wnd.pre.contentEditable = "true";
};
}
mk(h3, 'div', 'separator');
let replace_btn = mk(h3, 'button');
- replace_btn.innerText = "Save";
+ replace_btn.innerText = "Save Changes";
replace_btn.onclick = () => { alert("No implemento"); }
mk(h3, 'div', 'separator');
F diff --git a/loggedin.php b/loggedin.php --- a/loggedin.php +++ b/loggedin.php
<form id="upload_form" style="display:none;" action="php/upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="the_file" id="the_file">
<input type="hidden" name="filename" id="filename">
- <input type="hidden" name="override" id="override_input">
+ <input type="hidden" name="overwrite" id="override_input">
<input type="hidden" name="parent_directory" id="upload_parent_directory">
</form>