]> git.proxmox.com Git - pmg-gui.git/commit
ui: trim whitespaces when adding a subscription key master
authorStefan Sterz <s.sterz@proxmox.com>
Fri, 1 Mar 2024 09:54:30 +0000 (10:54 +0100)
committerStoiko Ivanov <s.ivanov@proxmox.com>
Fri, 1 Mar 2024 10:38:52 +0000 (11:38 +0100)
commitbf2ecac32c4f5ad1c5b8378dc93f452b1c243ae8
treed1c3b1072211ac50708c69a2c55d8da8278fd4a2
parent4a2fbe7ce832f335a3000332f82911c59aa5f9fe
ui: trim whitespaces when adding a subscription key

users that add the correct subscription key just get unnecessarily
confused with a "value does not match the regex pattern" error if
they accidentally have a stray whitespace at the end or beginning
otherwise.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
js/Subscription.js