<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-forward-container">Didn't replied to the list,
sorry.<br>
<br>
-------- Weitergeleitete Nachricht --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" valign="BASELINE" nowrap="nowrap">Betreff:
</th>
<td>Re: [pve-devel] [PAST pve-manager] use correct checked
value for ha resource edit dialog</td>
</tr>
<tr>
<th align="RIGHT" valign="BASELINE" nowrap="nowrap">Datum: </th>
<td>Wed, 9 Sep 2015 18:10:50 +0200</td>
</tr>
<tr>
<th align="RIGHT" valign="BASELINE" nowrap="nowrap">Von: </th>
<td>Thomas Lamprecht <a class="moz-txt-link-rfc2396E" href="mailto:t.lamprecht@proxmox.com"><t.lamprecht@proxmox.com></a></td>
</tr>
<tr>
<th align="RIGHT" valign="BASELINE" nowrap="nowrap">An: </th>
<td>Dietmar Maurer <a class="moz-txt-link-rfc2396E" href="mailto:dietmar@proxmox.com"><dietmar@proxmox.com></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Reproduction:
Disable an service and then try to edit it. You cannot enable it
directly as the checkbox is already checked.
So you need to save it as disabled (although it is already disabled)
reopen the edit box and only then you can enable it.
Am 09.09.2015 um 17:31 schrieb Dietmar Maurer:
> that looks strange to me - is that really required?
> The current GUI works for me, so how can I reproduce the bug?
>
>> On September 9, 2015 at 3:21 PM Thomas Lamprecht <a class="moz-txt-link-rfc2396E" href="mailto:t.lamprecht@proxmox.com"><t.lamprecht@proxmox.com></a>
>> wrote:
>>
>>
>> Signed-off-by: Thomas Lamprecht <a class="moz-txt-link-rfc2396E" href="mailto:t.lamprecht@proxmox.com"><t.lamprecht@proxmox.com></a>
>> ---
>> www/manager/ha/ResourceEdit.js | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/www/manager/ha/ResourceEdit.js b/www/manager/ha/ResourceEdit.js
>> index 962cdda..bc48c70 100644
>> --- a/www/manager/ha/ResourceEdit.js
>> +++ b/www/manager/ha/ResourceEdit.js
>> @@ -54,7 +54,7 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
>> {
>> xtype: 'pvecheckbox',
>> name: 'enable',
>> - checked: true,
>> + checked: me.enable,
>> uncheckedValue: 0,
>> fieldLabel: gettext('enable')
>> }
>> --
>> 2.1.4
>>
>> _______________________________________________
>> pve-devel mailing list
>> <a class="moz-txt-link-abbreviated" href="mailto:pve-devel@pve.proxmox.com">pve-devel@pve.proxmox.com</a>
>> <a class="moz-txt-link-freetext" href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel</a>
>>
</pre>
<br>
</div>
<br>
</body>
</html>