]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: schedule sim: code style cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 20 Jan 2023 08:42:00 +0000 (09:42 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 20 Jan 2023 08:53:33 +0000 (09:53 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/ScheduleSimulator.js

index 6b02cbc98e5e4e016c221cf02cc5b5147889d4f6..9151d58e37a4197bc5772b3fc8fae9178a5a80d6 100644 (file)
@@ -5,7 +5,9 @@ Ext.define('PVE.window.ScheduleSimulator', {
 
     controller: {
        xclass: 'Ext.app.ViewController',
-       close: function() { this.getView().close(); },
+       close: function() {
+           this.getView().close();
+       },
        simulate: function() {
            let me = this;
            let schedule = me.lookup('schedule').getValue();
@@ -71,11 +73,11 @@ Ext.define('PVE.window.ScheduleSimulator', {
                },
                {
                    xtype: 'proxmoxintegerfield',
+                   reference: 'iterations',
+                   fieldLabel: gettext('Iterations'),
                    minValue: 1,
                    maxValue: 100,
                    value: 10,
-                   reference: 'iterations',
-                   fieldLabel: gettext('Iterations'),
                },
                {
                    xtype: 'container',