]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
rework panel/LogView
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 2 Apr 2019 10:16:49 +0000 (12:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 2 Apr 2019 10:52:05 +0000 (12:52 +0200)
commit65bb3b678f2e8407e40c90fd8c27b391d76e96c3
tree1885dbd6f4cb78354dd62d23dde1296cc0bfc285
parentf2a630d4c6f7c8590ce491e5ab22988214fd5e11
rework panel/LogView

use the view, viewmodel, controller style code, which makes the logic
much more understandable

this adds two features to it, namely a viewBuffer range, which controls
the distance to the end of the data on which the panel loads the next data
and an optional failCallback, which will be used for the cephlog

this also fixes #2151

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
panel/LogView.js
window/TaskViewer.js