>                      values.enable = values.disable ? 0 : 1;
> +                 // reverse the logic for the checkbox
> +                 values.nowritecache = values.nowritecache == '0'?'1':'0';

It would be much nicer if this gets handled by the form element itself ...

But we can apply this unless we have a better solution.

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to