[pve-devel] [PATCH manager 7/7] ext6migrate: fix trailing whitespaces
Dominik Csapak
d.csapak at proxmox.com
Tue Mar 8 11:03:57 CET 2016
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/dc/ACLView.js | 24 ++++++++++++------------
www/manager6/dc/StorageView.js | 16 ++++++++--------
www/manager6/form/ContentTypeSelector.js | 2 +-
www/manager6/form/UserSelector.js | 4 ++--
4 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/www/manager6/dc/ACLView.js b/www/manager6/dc/ACLView.js
index ffaafe2..61e7564 100644
--- a/www/manager6/dc/ACLView.js
+++ b/www/manager6/dc/ACLView.js
@@ -61,7 +61,7 @@ Ext.define('PVE.dc.ACLAdd', {
Ext.apply(me, {
items: [ ipanel ]
});
-
+
me.callParent();
}
});
@@ -83,9 +83,9 @@ Ext.define('PVE.dc.ACLView', {
type: 'pve',
url: "/api2/json/access/acl"
},
- sorters: {
- property: 'path',
- order: 'DESC'
+ sorters: {
+ property: 'path',
+ order: 'DESC'
}
});
@@ -150,9 +150,9 @@ Ext.define('PVE.dc.ACLView', {
selModel: sm,
confirmMsg: gettext('Are you sure you want to remove this entry'),
handler: function(btn, event, rec) {
- var params = {
- 'delete': 1,
- path: rec.data.path,
+ var params = {
+ 'delete': 1,
+ path: rec.data.path,
roles: rec.data.roleid
};
if (rec.data.type === 'group') {
@@ -232,12 +232,12 @@ Ext.define('PVE.dc.ACLView', {
Ext.define('pve-acl', {
extend: 'Ext.data.Model',
- fields: [
- 'path', 'type', 'ugid', 'roleid',
- {
- name: 'propagate',
+ fields: [
+ 'path', 'type', 'ugid', 'roleid',
+ {
+ name: 'propagate',
type: 'boolean'
- }
+ }
]
});
diff --git a/www/manager6/dc/StorageView.js b/www/manager6/dc/StorageView.js
index cf4df5b..2a95976 100644
--- a/www/manager6/dc/StorageView.js
+++ b/www/manager6/dc/StorageView.js
@@ -13,9 +13,9 @@ Ext.define('PVE.dc.StorageView', {
type: 'pve',
url: "/api2/json/storage"
},
- sorters: {
- property: 'storage',
- order: 'DESC'
+ sorters: {
+ property: 'storage',
+ order: 'DESC'
}
});
@@ -31,7 +31,7 @@ Ext.define('PVE.dc.StorageView', {
return;
}
var type = rec.data.type;
-
+
var editor;
if (type === 'dir') {
editor = 'PVE.storage.DirEdit';
@@ -63,7 +63,7 @@ Ext.define('PVE.dc.StorageView', {
win.show();
win.on('destroy', reload);
};
-
+
var edit_btn = new PVE.button.Button({
text: gettext('Edit'),
disabled: true,
@@ -101,7 +101,7 @@ Ext.define('PVE.dc.StorageView', {
viewConfig: {
trackOver: false
},
- tbar: [
+ tbar: [
{
text: gettext('Add'),
menu: new Ext.menu.Menu({
@@ -267,10 +267,10 @@ Ext.define('PVE.dc.StorageView', {
Ext.define('pve-storage', {
extend: 'Ext.data.Model',
- fields: [
+ fields: [
'path', 'type', 'content', 'server', 'portal', 'target', 'export', 'storage',
{ name: 'shared', type: 'boolean'},
- { name: 'disable', type: 'boolean'}
+ { name: 'disable', type: 'boolean'}
],
idProperty: 'storage'
});
diff --git a/www/manager6/form/ContentTypeSelector.js b/www/manager6/form/ContentTypeSelector.js
index 6f5a05a..1ce39a9 100644
--- a/www/manager6/form/ContentTypeSelector.js
+++ b/www/manager6/form/ContentTypeSelector.js
@@ -1,7 +1,7 @@
Ext.define('PVE.form.ContentTypeSelector', {
extend: 'PVE.form.KVComboBox',
alias: ['widget.pveContentTypeSelector'],
-
+
cts: undefined,
initComponent: function() {
diff --git a/www/manager6/form/UserSelector.js b/www/manager6/form/UserSelector.js
index 0ab7646..d5c8a07 100644
--- a/www/manager6/form/UserSelector.js
+++ b/www/manager6/form/UserSelector.js
@@ -55,9 +55,9 @@ Ext.define('PVE.form.UserSelector', {
Ext.define('pve-users', {
extend: 'Ext.data.Model',
- fields: [
+ fields: [
'userid', 'firstname', 'lastname' , 'email', 'comment',
- { type: 'boolean', name: 'enable' },
+ { type: 'boolean', name: 'enable' },
{ type: 'date', dateFormat: 'timestamp', name: 'expire' }
],
proxy: {
--
2.1.4
More information about the pve-devel
mailing list