From: Thomas Lamprecht Date: Mon, 3 Jun 2019 14:37:00 +0000 (+0200) Subject: node/APT: whitespace cleanup X-Git-Url: https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=commitdiff_plain;h=f12e1aba6e86d90d041560eeaa858102e779e699 node/APT: whitespace cleanup Signed-off-by: Thomas Lamprecht --- diff --git a/node/APT.js b/node/APT.js index abf5f2e..8d4e9d9 100644 --- a/node/APT.js +++ b/node/APT.js @@ -55,8 +55,8 @@ Ext.define('Proxmox.node.APT', { 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: [ { @@ -73,15 +73,15 @@ Ext.define('Proxmox.node.APT', { 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: '
' + + var headerCt = this.view.headerCt; + var colspan = headerCt.getColumnCount(); + return { + rowBody: '
' + Ext.String.htmlEncode(data.Description) + '
', 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'), - handler: function(){ + handler: function() { Proxmox.Utils.checked_command(function() { apt_command('update'); }); } });