diff --git a/xCAT-UI/js/configure/service.js b/xCAT-UI/js/configure/service.js index 00a4fb9ea..25ba5894a 100644 --- a/xCAT-UI/js/configure/service.js +++ b/xCAT-UI/js/configure/service.js @@ -731,7 +731,7 @@ function configGroupPanel(data) { // Create table var tableId = panelId + 'Datatable'; var table = new DataTable(tableId); - table.init(['', 'Name', 'Selectable', 'IP', 'Hostname', 'Network', 'Description']); + table.init(['', 'Name', 'Selectable', 'IP', 'Hostname', 'Description']); // Insert groups into table var nodePos = 0; @@ -787,12 +787,6 @@ function configGroupPanel(data) { desc = jQuery.trim(desc); } - // Save network - if (tmp[j].indexOf('network:') > -1) { - network = tmp[j].replace('network:', ''); - network = jQuery.trim(network); - } - // Is the group selectable? if (tmp[j].indexOf('selectable:') > -1) { selectable = tmp[j].replace('selectable:', ''); @@ -802,7 +796,7 @@ function configGroupPanel(data) { } // Columns are: name, selectable, network, and description - var cols = new Array(name, selectable, ip, hostname, network, desc); + var cols = new Array(name, selectable, ip, hostname, desc); // Add remove button where id = user name cols.unshift(''); @@ -851,10 +845,9 @@ function configGroupPanel(data) { var selectable = cols.eq(2).text(); var ip = cols.eq(3).text(); var hostnames = cols.eq(4).text(); - var network = cols.eq(5).text(); - var description = cols.eq(6).text(); + var description = cols.eq(5).text(); - editGroupDialog(group, selectable, ip, hostnames, network, description); + editGroupDialog(group, selectable, ip, hostnames, description); } } }); @@ -913,9 +906,10 @@ function groupDialog() { var selectable = $('
'); var ip = $('
'); var hostnames = $('
'); - var network = $('
'); var comments = $('
'); - groupForm.append(group, selectable, ip, hostnames, network, comments); + var ipPool = $('