diff options
-rwxr-xr-x | usr/local/www/interfaces_groups_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_groups_edit.php b/usr/local/www/interfaces_groups_edit.php index 48093f4..1356760 100755 --- a/usr/local/www/interfaces_groups_edit.php +++ b/usr/local/www/interfaces_groups_edit.php @@ -202,8 +202,8 @@ var addRowTo = (function() { $iflist = get_configured_interface_with_descr(); foreach ($iflist as $ifnam => $ifdescr) - $innerHTML .= "<option value='{$ifnam}'>{$ifdescr}</option>"; - $innerHTML .= "</select>\";"; + $innerHTML .= "<option value='{$ifnam}'>{$ifdescr}<\/option>"; + $innerHTML .= "<\/select>\";"; ?> td.innerHTML=<?=$innerHTML;?> tr.appendChild(td); @@ -211,7 +211,7 @@ var addRowTo = (function() { td = d.createElement("td"); td.rowSpan = "1"; - td.innerHTML = '<a onclick="removeRow(this);return false;" href="#"><img border="0" src="/themes/' + theme + '/images/icons/icon_x.gif" alt="remove" /></a>'; + td.innerHTML = '<a onclick="removeRow(this);return false;" href="#"><img border="0" src="/themes/' + theme + '/images/icons/icon_x.gif" alt="remove" /><\/a>'; tr.appendChild(td); tbody.appendChild(tr); totalrows++; |