<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks, Atreyee!<br>
<br>
Seems you forgot to include the Kimchi ML. I am doing it now so
everyone can be aware about that.<br>
Please, send the patch itself direct to the ML. It is easy to apply
the changes and test.<br>
<br>
Regards,<br>
Aline Manera<br>
<br>
<div class="moz-cite-prefix">On 15/10/2015 09:27, Atreye
Mukhopadhyay wrote:<br>
</div>
<blockquote cite="mid:561F9BCD.1010009@linux.vnet.ibm.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Hi Samuel,<br>
I have fixed the issue you mentioned during the hangout meeting
session regarding the incorrect action name for enabled
repositories in repository list.<br>
I worked on the latest code available in your branch <span
lang="EN-US"><a moz-do-not-send="true"
href="https://github.com/samhenri/kimchi.git">https://github.com/samhenri/kimchi.git</a>
. I have made changes in "</span>onRowSelected" method in
kimchi.host.js. Changes are highlighted below.<br>
<br>
Enable/disable button of each row was having same 'id' . Incorrect
action was displayed for the enabled repositories other than first
record as $('#repositories-grid-enable-button') was always
returning button from first action dropdown menu.<br>
<br>
<br>
onRowSelected: function(row) {<br>
var repository = repositoriesGrid.getSelected();<br>
if (!repository) {<br>
return;<br>
}<br>
<b> var selectedRow = $('tr',
repositoriesGrid.bodyContainer);</b><br>
$('#repositories-grid-remove-button',selectedRow).prop('disabled',
false);<br>
$('#repositories-grid-edit-button',selectedRow).prop('disabled',
false);<br>
var enabled = repository['enabled'];<br>
<br>
<b>$('#repositories-grid-enable-button',selectedRow)</b><b><br>
</b><b> .html('<i class="fa
fa-play-circle-o"></i>'+</b>i18n[enabled ?
'KCHREPO6017M' : 'KCHREPO6016M'])<br>
.prop('disabled', false);<br>
},<br>
<br>
Screenshots are attached herewith.<br>
<br>
Please ignore the mail if you have resolved the issue already .<br>
<br>
Thanks & Regards,<br>
Atreyee<br>
</blockquote>
<br>
</body>
</html>