[pve-devel] [PATCH manager] gui: fix debug-mode error

Dominik Csapak d.csapak at proxmox.com
Mon Jul 15 14:03:45 CEST 2019


setData on an 'empty' store does not work in extjs debug mode
setting store to '{}' here does create a store on component creation
so the store is not 'empty'

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/qemu/AgentIPView.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/qemu/AgentIPView.js b/www/manager6/qemu/AgentIPView.js
index 853e8820..0a97c848 100644
--- a/www/manager6/qemu/AgentIPView.js
+++ b/www/manager6/qemu/AgentIPView.js
@@ -10,6 +10,7 @@ Ext.define('PVE.window.IPInfo', {
     items: [
 	{
 	    xtype: 'grid',
+	    store: {},
 	    emptyText: gettext('No network information'),
 	    columns: [
 		{
-- 
2.20.1





More information about the pve-devel mailing list