mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
fix upload/filesearch default when preference is not set;
ui would enter a confusing state when hopping between a folder with write-permissions and one without
This commit is contained in:
parent
0c03921965
commit
51a83b04a0
|
@ -2868,6 +2868,8 @@ function up2k_init(subtle) {
|
|||
new_state = false;
|
||||
fixed = true;
|
||||
}
|
||||
if (new_state === undefined)
|
||||
new_state = can_write ? false : have_up2k_idx ? true : undefined;
|
||||
}
|
||||
|
||||
if (new_state === undefined)
|
||||
|
|
Loading…
Reference in a new issue