B #1674: VM cannot be assigned to vmgroup/roles in firefox (#1873)

This commit is contained in:
Abel Coronado authored and Tino Vázquez committed 2018-03-16 11:29:54 +01:00
1 parent 1d54c3571e
commit 099d7bc5f3
2 files changed
+2 -2

No files matched your search

@@ -182,7 +182,7 @@ define(function(require) {
var networks = NicsSection.retrieve($(".nicsContext" + template_id, context));
var vmgroup = VMGroupSection.retrieve($(".vmgroupContext"+ template_id));
var vmgroup = VMGroupSection.retrieve($(".vmgroupContext"+ template_id, context));
if(vmgroup){
$.extend(tmp_json, vmgroup);
}
@@ -108,7 +108,7 @@ define(function(require) {
function _retrieve(context, vmGroupTable) {
if(!vmGroupTable){
$.each($('.role_table_section',context), function(){
if(this.innerText != ""){
if(this.value === ""){
this.remove();
}
});