This commit is contained in:
ed 2022-04-14 21:45:22 +02:00
parent b000707c10
commit 799a5ffa47
3 changed files with 6 additions and 2 deletions

View file

@ -1,8 +1,8 @@
# coding: utf-8 # coding: utf-8
VERSION = (1, 2, 3) VERSION = (1, 2, 4)
CODENAME = "ftp btw" CODENAME = "ftp btw"
BUILD_DT = (2022, 3, 24) BUILD_DT = (2022, 4, 14)
S_VERSION = ".".join(map(str, VERSION)) S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

View file

@ -35,6 +35,7 @@
<input type="file" name="f" multiple /><br /> <input type="file" name="f" multiple /><br />
<input type="submit" value="start upload"> <input type="submit" value="start upload">
</form> </form>
<a id="bbsw" href="?b=u"><br />switch to basic browser</a>
</div> </div>
<div id="op_mkdir" class="opview opbox act"> <div id="op_mkdir" class="opview opbox act">

View file

@ -4116,6 +4116,7 @@ var treectl = (function () {
} }
r.hydrate = function () { r.hydrate = function () {
qsr('#bbsw');
if (ls0 === null) { if (ls0 === null) {
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.open('GET', '/?am_js', true); xhr.open('GET', '/?am_js', true);
@ -4639,6 +4640,8 @@ var settheme = (function () {
var btns = QSA('#themes a'); var btns = QSA('#themes a');
for (var a = 0; a < themes; a++) for (var a = 0; a < themes; a++)
btns[a].onclick = settheme; btns[a].onclick = settheme;
bcfg_set('light', light);
} }
function settheme(e) { function settheme(e) {