[UPD] web_dialog_size: reduce rpc call to get config

After installing web_dialog_size and setup its parameter, there's
a slight delay where we can see the modal at its normal size and then
after a rpc to ir.config_parameter:get_web_dialog_size_config() the
modal is maximized.

This commit is to set a session value then use it to set initial dialog
size upfront without delay.
This commit is contained in:
Hai Lang
2023-06-07 16:52:23 +07:00
parent 704a643346
commit b3f75abf0d
5 changed files with 30 additions and 32 deletions

View File

@@ -1 +1,2 @@
from . import ir_config_parameter
from . import ir_http