mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-05 19:36:49 +00:00
node/APT: whitespace cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6895e13f39
commit
f12e1aba6e
18
node/APT.js
18
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: '<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',
|
||||
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'); });
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user