[pve-devel] [PATCH 1/2] ext5migrate: enable striped row, it now works with ExtJS5
Emmanuel Kasper
e.kasper at proxmox.com
Tue Aug 18 14:43:32 CEST 2015
---
www/manager5/dc/Log.js | 2 +-
www/manager5/dc/Tasks.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/manager5/dc/Log.js b/www/manager5/dc/Log.js
index 75eccb0..385823b 100644
--- a/www/manager5/dc/Log.js
+++ b/www/manager5/dc/Log.js
@@ -30,7 +30,7 @@ Ext.define('PVE.dc.Log', {
viewConfig: {
trackOver: false,
- stripeRows: false, // does not work with getRowClass()
+ stripeRows: true,
getRowClass: function(record, index) {
var pri = record.get('pri');
diff --git a/www/manager5/dc/Tasks.js b/www/manager5/dc/Tasks.js
index 12bb902..58d09a5 100644
--- a/www/manager5/dc/Tasks.js
+++ b/www/manager5/dc/Tasks.js
@@ -55,7 +55,7 @@ Ext.define('PVE.dc.Tasks', {
viewConfig: {
trackOver: false,
- stripeRows: false, // does not work with getRowClass()
+ stripeRows: true, // does not work with getRowClass()
getRowClass: function(record, index) {
var status = record.get('status');
--
2.1.4
More information about the pve-devel
mailing list