diff options
| author | Shulhan <ms@kilabit.info> | 2023-11-12 19:06:40 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-11-12 19:06:40 +0700 |
| commit | 61ece8913599fa79c3fced73efb3973eab91d024 (patch) | |
| tree | e3bd54bc0cb26fb31c26440f3d0e7627e45f0a8e /_wui | |
| parent | 053010d3f205c6e827f52892e948d818c28a38a6 (diff) | |
| download | awwan-61ece8913599fa79c3fced73efb3973eab91d024.tar.xz | |
_wui: reset the input field when directory changes
Diffstat (limited to '_wui')
| -rw-r--r-- | _wui/awwan.ts | 1 | ||||
| -rw-r--r-- | _wui/main.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/_wui/awwan.ts b/_wui/awwan.ts index 5e4b4ca..21c308c 100644 --- a/_wui/awwan.ts +++ b/_wui/awwan.ts @@ -270,6 +270,7 @@ export class Awwan { if (isDir) { this.currentNode = node; window.location.hash = "#" + path; + this.comVfsInput.value = ""; return res; } diff --git a/_wui/main.js b/_wui/main.js index 0850787..6579365 100644 --- a/_wui/main.js +++ b/_wui/main.js @@ -609,6 +609,7 @@ var awwan = (() => { if (isDir) { this.currentNode = node; window.location.hash = "#" + path; + this.comVfsInput.value = ""; return res; } const resAllow = this.isEditAllowed(node); |
