Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com>
---
 www/manager6/ha/ResourceEdit.js | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/www/manager6/ha/ResourceEdit.js b/www/manager6/ha/ResourceEdit.js
index a70a1c75..f57668e8 100644
--- a/www/manager6/ha/ResourceEdit.js
+++ b/www/manager6/ha/ResourceEdit.js
@@ -25,7 +25,7 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
        var MIN_QUORUM_VOTES = 3;
 
        var disabledHint = Ext.createWidget({
-           xtype: 'displayfield', //submitValue is false, so we don't get 
submitted
+           xtype: 'displayfield', // won't get submitted by default
            userCls: 'pve-hint',
            value: 'Disabling the resource will stop the guest system. ' +
            'See the online help for details.',
@@ -36,11 +36,7 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
            itemId: 'fewVotesHint',
            xtype: 'displayfield',
            userCls: 'pve-hint',
-           updateValue: function(votes) {
-               var me = this;
-               me.setValue('You need at least three quorum votes for a 
reliable HA cluster. ' +
-               'See the online help for details. Current votes: ' + votes);
-           },
+           value: 'At least three quorum votes are recommended for reliable 
HA.',
            hidden: true
        });
 
@@ -59,7 +55,6 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
                });
 
                if (votes < MIN_QUORUM_VOTES) {
-                   fewVotesHint.updateValue(votes);
                    fewVotesHint.setVisible(true);
                }
            }
-- 
2.11.0


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to