mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #2211: Labels for selected items do not unselect them from the table
This commit is contained in:
parent
bb72d03ef9
commit
216eb2dcd6
@ -3582,8 +3582,8 @@ function setupCreateTemplateDialog(){
|
||||
|
||||
var host_id=id.substring(9,id.length);
|
||||
delete selected_hosts[host_id];
|
||||
$('td', host_row_hash[file_id]).removeClass('markrowchecked');
|
||||
$('input.check_item', host_row_hash[file_id]).removeAttr('checked');
|
||||
$('td', host_row_hash[host_id]).removeClass('markrowchecked');
|
||||
$('input.check_item', host_row_hash[host_id]).removeAttr('checked');
|
||||
|
||||
if ($.isEmptyObject(selected_hosts)) {
|
||||
$('#hosts_selected', dialog).hide();
|
||||
@ -3664,8 +3664,8 @@ function setupCreateTemplateDialog(){
|
||||
|
||||
var cluster_id=id.substring(12,id.length);
|
||||
delete selected_clusters[cluster_id];
|
||||
$('td', cluster_row_hash[file_id]).removeClass('markrowchecked');
|
||||
$('input.check_item', cluster_row_hash[file_id]).removeAttr('checked');
|
||||
$('td', cluster_row_hash[cluster_id]).removeClass('markrowchecked');
|
||||
$('input.check_item', cluster_row_hash[cluster_id]).removeAttr('checked');
|
||||
|
||||
if ($.isEmptyObject(selected_clusters)) {
|
||||
$('#clusters_selected', dialog).hide();
|
||||
|
Loading…
x
Reference in New Issue
Block a user