From cf4ecb2bfee81d71fdc7f111bd3207809cc2b1be Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 18 Dec 2017 10:32:22 +0100 Subject: [PATCH] check earlier if the logview is destroyed this is a port from pve-manager commit: bde1efbf66cf8794d99708b41d92b2106c44f192 which fixes a problem with destroying the logview in extjs 6.2 --- panel/LogView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panel/LogView.js b/panel/LogView.js index 73b71c4..05a90a3 100644 --- a/panel/LogView.js +++ b/panel/LogView.js @@ -39,12 +39,13 @@ Ext.define('Proxmox.panel.LogView', { updateView: function(start, end, total, text) { var me = this; - var el = me.dataCmp.el; if (me.destroyed) { // return if element is not there anymore return; } + var el = me.dataCmp.el; + if (me.viewInfo && me.viewInfo.start === start && me.viewInfo.end === end && me.viewInfo.total === total && me.viewInfo.textLength === text.length) { -- 2.39.2