]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
fix #4612: mobile: avoid crash due to missing getProxy method
authorFriedrich Weber <f.weber@proxmox.com>
Fri, 24 Mar 2023 09:02:30 +0000 (10:02 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 26 Mar 2023 15:36:55 +0000 (17:36 +0200)
commit4fedb4e28d2da5cfbf244e72da4e4149a6a60554
treeea0bb9c11f8ef19badb30613dd2defa4a6b5d2f6
parent311fb72a272a2c66e611d08e1950cb756f245838
fix #4612: mobile: avoid crash due to missing getProxy method

A previous commit (51083ee) added an override of the internal ExtJS
method `Ext.data.Store.onProxyLoad` in order to fix a race condition.
This override calls `Operation.getProxy`. However, this method is not
available on Sencha Touch. As a consequence, the mobile UI was
broken.

This commit modifies the override such that it has no effect in the
mobile UI.

Fixes: 51083ee54aa98af5a711622e4ed240840dcbbabe
Suggested-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
src/Utils.js