]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
edit window: add extraParams config
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Oct 2020 11:54:25 +0000 (12:54 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Oct 2020 12:12:03 +0000 (13:12 +0100)
commit9244bb7242e192efc323e9af045f5bf8a057ac62
tree9dcef98fb95f8e818393a81a39741d0f7ea8de7a
parent1289d32611f0aa259878190d5c823d1c2ee8c3cc
edit window: add extraParams config

For passing some default params which are passed along automatically
when calling load and doing the submit.

Useful in PBS, as there we often have the snapshot ID in multiple
parameters, not included in the request path, required for various
API call.

The params take low precendence, and are overwritten by values in
form fields with the same name for submit, or explicit params passed
to load calls

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/window/Edit.js