[pve-devel] [PATCH pve-manager 3/6] fix display of lxc console button text

Emmanuel Kasper e.kasper at proxmox.com
Wed Mar 9 15:57:14 CET 2016


same reasoning as

841343e1c80a1d81a0e4fa90def389983f4a60fe
do not use applyIf when adding items in initComponent()
---
 www/manager6/button/ConsoleButton.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/button/ConsoleButton.js b/www/manager6/button/ConsoleButton.js
index cba4984..f2513a1 100644
--- a/www/manager6/button/ConsoleButton.js
+++ b/www/manager6/button/ConsoleButton.js
@@ -42,7 +42,7 @@ Ext.define('PVE.button.ConsoleButton', {
 	    }
 	});
 
-	Ext.applyIf(me, { text: gettext('Console') });
+	Ext.apply(me, { text: gettext('Console') });
 
 	Ext.apply(me, {
 	    handler: function() {
-- 
2.1.4





More information about the pve-devel mailing list