mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-11 12:24:32 +00:00
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
This commit is contained in:
parent
f2bf80bd41
commit
cf4ecb2bfe
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user