]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
node/APT: whitespace cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 3 Jun 2019 14:37:00 +0000 (16:37 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 3 Jun 2019 14:38:49 +0000 (16:38 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
node/APT.js

index abf5f2efdd502defdfa8faf34d0c0517b137a6a8..8d4e9d9682ea0e9ce6f607e75a163e2da6031e35 100644 (file)
@@ -55,8 +55,8 @@ Ext.define('Proxmox.node.APT', {
            model: 'apt-pkglist',
            groupField: 'Origin',
            proxy: {
            model: 'apt-pkglist',
            groupField: 'Origin',
            proxy: {
-                type: 'proxmox',
-                url: "/api2/json/nodes/" + me.nodename + "/apt/update"
+               type: 'proxmox',
+               url: "/api2/json/nodes/" + me.nodename + "/apt/update"
            },
            sorters: [
                {
            },
            sorters: [
                {
@@ -73,15 +73,15 @@ Ext.define('Proxmox.node.APT', {
 
        var rowBodyFeature = Ext.create('Ext.grid.feature.RowBody', {
             getAdditionalData: function (data, rowIndex, record, orig) {
 
        var rowBodyFeature = Ext.create('Ext.grid.feature.RowBody', {
             getAdditionalData: function (data, rowIndex, record, orig) {
-                var headerCt = this.view.headerCt;
-                var colspan = headerCt.getColumnCount();
-                return {
-                    rowBody: '<div style="padding: 1em">' +
+               var headerCt = this.view.headerCt;
+               var colspan = headerCt.getColumnCount();
+               return {
+                   rowBody: '<div style="padding: 1em">' +
                        Ext.String.htmlEncode(data.Description) +
                        '</div>',
                    rowBodyCls: me.full_description ? '' : Ext.baseCSSPrefix + 'grid-row-body-hidden',
                        Ext.String.htmlEncode(data.Description) +
                        '</div>',
                    rowBodyCls: me.full_description ? '' : Ext.baseCSSPrefix + 'grid-row-body-hidden',
-                    rowBodyColspan: colspan
-                };
+                   rowBodyColspan: colspan
+               };
            }
        });
 
            }
        });
 
@@ -114,7 +114,7 @@ Ext.define('Proxmox.node.APT', {
 
        var update_btn = new Ext.Button({
            text: gettext('Refresh'),
 
        var update_btn = new Ext.Button({
            text: gettext('Refresh'),
-           handler: function(){
+           handler: function() {
                Proxmox.Utils.checked_command(function() { apt_command('update'); });
            }
        });
                Proxmox.Utils.checked_command(function() { apt_command('update'); });
            }
        });