]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
data/DiffStore: add autoDestroyRstore flag
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 7 May 2020 08:27:05 +0000 (10:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 May 2020 10:47:20 +0000 (12:47 +0200)
commit65277f6a2e113fc9120fc6094c048effcc07f2ba
treed8d0126e4ed5902f947fb4ffaa512fd7fb453b92
parent86811eaa27b7e9f42ea15ae94dfdfd6f7e6daff4
data/DiffStore: add autoDestroyRstore flag

when this flag is set, the diffstore will automatically try to destroy
the rstore when it is destroyed itself

for this we have to move the rstore into the object (instead of using a closure)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
data/DiffStore.js