Trying out JSFrame for windows

Winbox has this annoying bug where you can't move the window below the
calculated area of the document, so you can't drag it over blank space.
JSFrame fixes this and does basically what we want as well. This has
been implemented for post replies and I am going to implement it for
reports and ban creation too.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-06-25 20:42:10 -07:00
parent 8ab760d456
commit e596d59e82
9 changed files with 181 additions and 2 deletions

View File

@@ -160,3 +160,9 @@ REPORT_WINDOW_CLOSE_TIMEOUT = 5
# By default, wait 0 seconds and close immediately. It is assumed that the ban
# is created successfully, and if an error occurs, the window won't close anyway.
BAN_WINDOW_CLOSE_TIMEOUT = 0
# How many seconds to wait before closing the new post window after a post is
# created.
# By default, wait 0 seconds. If there is an error, the window won't close
# because it will be redirected elsewhere.
POST_WINDOW_CLOSE_TIMEOUT = 0