[pve-devel] applied: [PATCH manager] ui: storage: show no-keeps hint exactly when needed
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Nov 24 15:47:15 CET 2020
On 24.11.20 15:31, Fabian Ebner wrote:
> extracting the logic from the previous checkbox listener into a function, which
> is also called on field changes and once in afterrender. Calling it initially
> makes sure the hint is also displayed at the beginning when editing a storage
> with no retention options configured, and the initial disabling of the input
> fields for the isCreate case now also happens through that call.
>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>
> Not too happy about the function name, but couldn't come up with
> anything better.
>
> www/manager6/storage/Base.js | 27 ++++++++++++++++++---------
> 1 file changed, 18 insertions(+), 9 deletions(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list