data: diffstore: fix autoDestroyRstore option
the change from extjs 6.0.1 to 7.0.0 removed 'onDestroy' but brought us 'doDestroy' for stores we did not notice since 'onDestroy' was a private method and thus the changelog did not mention this (doDestroy is a public method meant exactly for our use case) Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
ef91752982
commit
c75098386d
@ -28,7 +28,7 @@ Ext.define('Proxmox.data.DiffStore', {
|
||||
// config is passed instead of an existing rstore instance
|
||||
autoDestroyRstore: false,
|
||||
|
||||
onDestroy: function() {
|
||||
doDestroy: function() {
|
||||
let me = this;
|
||||
if (me.autoDestroyRstore) {
|
||||
if (Ext.isFunction(me.rstore.destroy)) {
|
||||
|
Loading…
Reference in New Issue
Block a user