mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
Do not set pending select if the image is not found but specified by name and name
This commit is contained in:
parent
35829413f0
commit
6a1c6e836d
@ -926,15 +926,17 @@ define(function(require) {
|
||||
}
|
||||
});
|
||||
|
||||
if (row_id == undefined){
|
||||
$('#selected_resource_id_' + that.dataTableId, section).data("pending_select", selectedResources);
|
||||
}
|
||||
//if (row_id == undefined){
|
||||
// $('#selected_resource_id_' + that.dataTableId, section).data("pending_select", selectedResources);
|
||||
//}
|
||||
}
|
||||
|
||||
// $("td", this).addClass('markrow');
|
||||
// $('input.check_item', this).prop('checked', true);
|
||||
|
||||
$('#selected_resource_id_' + that.dataTableId, section).val(row_id).change();
|
||||
if (row_id !== undefined) {
|
||||
$('#selected_resource_id_' + that.dataTableId, section).val(row_id).change();
|
||||
}
|
||||
|
||||
$('#selected_resource_name_' + that.dataTableId, section).text(row_name).change();
|
||||
$('#selected_resource_name_' + that.dataTableId, section).show();
|
||||
|
Loading…
x
Reference in New Issue
Block a user