* [pve-devel] [PATCH widget-toolkit] panel/JournalView: use correct component for masking
@ 2021-05-25 13:38 Dominik Csapak
0 siblings, 0 replies; only message in thread
From: Dominik Csapak @ 2021-05-25 13:38 UTC (permalink / raw)
To: pve-devel
'me' is the controller here, not the view.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
src/panel/JournalView.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/panel/JournalView.js b/src/panel/JournalView.js
index 692f241..11610f5 100644
--- a/src/panel/JournalView.js
+++ b/src/panel/JournalView.js
@@ -137,7 +137,7 @@ Ext.define('Proxmox.panel.JournalView', {
waitMsgTarget: !livemode ? view : undefined,
method: 'GET',
success: function(response) {
- Proxmox.Utils.setErrorMask(me, false);
+ Proxmox.Utils.setErrorMask(view, false);
let lines = response.result.data;
me.updateView(lines, livemode, top);
me.running = false;
@@ -148,7 +148,7 @@ Ext.define('Proxmox.panel.JournalView', {
},
failure: function(response) {
let msg = response.htmlStatus;
- Proxmox.Utils.setErrorMask(me, msg);
+ Proxmox.Utils.setErrorMask(view, msg);
me.running = false;
if (me.requested) {
me.requested = false;
--
2.20.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-25 13:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 13:38 [pve-devel] [PATCH widget-toolkit] panel/JournalView: use correct component for masking Dominik Csapak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox