On 1/29/20 11:27 AM, Stefan Reiter wrote: > CorosyncLinkEdit is a Panel that contains between one and 8 > CorosyncLinkSelectors. These can be added or removed with according > buttons. > > Values submitted to the API are calculated by each > ProxmoxNetworkSelector itself. This works because ExtJS searches > recursively through all child components for ones with a value to be > submitted, i.e. the CorosyncLinkEdit and CorosyncLinkSelector components > are not part of data submission at all. > > Change ClusterEdit.js to use the new component for cluster join and > create. > > Signed-off-by: Stefan Reiter <s.rei...@proxmox.com> > --- > > Kind of depends on the widget-toolkit patch. Will work without it, but has > some > visual glitches then. > > > www/manager6/Makefile | 1 + > www/manager6/dc/ClusterEdit.js | 150 +++++----- > www/manager6/dc/CorosyncLinkEdit.js | 406 ++++++++++++++++++++++++++++ > 3 files changed, 478 insertions(+), 79 deletions(-) > create mode 100644 www/manager6/dc/CorosyncLinkEdit.js >
applied, thanks! _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel