]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
node tasks: fixup overly-short comment lengths
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 28 Jun 2021 14:19:38 +0000 (16:19 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 28 Jun 2021 14:19:40 +0000 (16:19 +0200)
The minimum "max length" should be 80cc, and 100cc is also fine.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/node/Tasks.js

index 049b5277a4aab7b5ad821cdf670c89b6b8e99485..1fa6a8348b3e74793a31acb177baed152202aef5 100644 (file)
@@ -9,18 +9,13 @@ Ext.define('Proxmox.node.Tasks', {
     loadMask: true,
     sortableColumns: false,
 
-    // set extra filter components,
-    // must have a 'name' property for the parameter,
-    // and must trigger a 'change' event
-    // if the value is 'undefined', it will not be sent to the api
+    // set extra filter components, must have a 'name' property for the parameter, and must
+    // trigger a 'change' event if the value is 'undefined', it will not be sent to the api
     extraFilter: [],
 
 
-    // filters that should only be set once and is not changable
-    // example:
-    // {
-    //    vmid: 100,
-    // }
+    // fixed filters which cannot be changed after instantiation, for example:
+    // { vmid: 100 }
     preFilter: {},
 
     controller: {
@@ -43,10 +38,9 @@ Ext.define('Proxmox.node.Tasks', {
 
        updateLayout: function() {
            let me = this;
-           // we want to update the scrollbar on every store load
-           // since the total count might be different
-           // the buffered grid plugin does this only on scrolling itself
-           // and even reduces the scrollheight again when scrolling up
+           // update the scrollbar on every store load since the total count might be different.
+           // the buffered grid plugin does this only on (user) scrolling itself and even reduces
+           // the scrollheight again when scrolling up
            me.getView().updateLayout();
        },