[pve-devel] [PATCH 4/8] render disk space and memory size as size_int

Stefan Priebe s.priebe at profihost.ag
Wed Apr 24 10:45:20 CEST 2013


Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
 www/manager/data/ResourceStore.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager/data/ResourceStore.js b/www/manager/data/ResourceStore.js
index 07b029c..23f59e6 100644
--- a/www/manager/data/ResourceStore.js
+++ b/www/manager/data/ResourceStore.js
@@ -98,7 +98,7 @@ Ext.define('PVE.data.ResourceStore', {
 	    maxdisk: {
 		header: gettext('Disk size'),
 		type: 'integer',
-		renderer: PVE.Utils.render_size,
+		renderer: PVE.Utils.render_size_int,
 		sortable: true,
 		hidden: true,
 		width: 100
@@ -113,7 +113,7 @@ Ext.define('PVE.data.ResourceStore', {
 	    maxmem: {
 		header: gettext('Memory size'),
 		type: 'integer',
-		renderer: PVE.Utils.render_size,
+		renderer: PVE.Utils.render_size_int,
 		hidden: true,
 		sortable: true,
 		width: 100
-- 
1.7.10.4



More information about the pve-devel mailing list