Skip to content

Commit

Permalink
fixing issue #104
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpascoe committed Sep 22, 2024
1 parent 49cd54e commit 244257f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions www/winc/edit_subnet.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ function(ev) {
"tooltip=>qf_vlan," +
"id=>tt_qf_vlan_{$window_name}," +
"text_id=>vlan_text_{$window_name}," +
"campus_id=>set_campus_{$window_name}," +
"input_id=>set_vlan_{$window_name}');"
);
};
Expand Down Expand Up @@ -147,9 +148,9 @@ function(ev) {
value="{$vlan['number']}">
<input
type="hidden"
id="vlan_campus_{$window_name}"
id="set_campus_{$window_name}"
name="campus"
value="{$vlan['vlan_campus_id']}">
value="{$vlan['vlan_campus_name']}">
<span id="qf_vlan_{$window_name}">
<a id="vlan_text_{$window_name}"
Expand Down Expand Up @@ -334,7 +335,6 @@ function ws_save($window_name, $form='') {
// return $response;
// }


// Decide if we're editing or adding
$module = 'modify';
// If we're adding, re-map some the array names to match what the "add" module wants
Expand Down
2 changes: 1 addition & 1 deletion www/winc/search_results_qf.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ function ws_vlan($window_name, $form='') {
$html .= <<<EOL
<tr onMouseOver="this.className='row-highlight';"
onMouseOut="this.className='row-normal';"
onClick="el('{$form['input_id']}').value = '{$record['number']}'; el('{$form['text_id']}').innerHTML = '{$campus['name']} / {$record['name']}'; removeElement('{$form['id']}');">
onClick="el('{$form['input_id']}').value = '{$record['number']}'; el('{$form['campus_id']}').value = '{$campus['id']}'; el('{$form['text_id']}').innerHTML = '{$campus['name']} / {$record['name']}'; removeElement('{$form['id']}');">
<td style="font-size: 10px; padding: 0px 2px;">{$campus['name']} / [{$record['number']}] {$record['name']}</td>
</tr>
EOL;
Expand Down
1 change: 1 addition & 0 deletions www/winc/tooltips.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,7 @@ function quick_vlan_search($form) {
<input type="hidden" name="id" value="{$form['id']}">
<input type="hidden" name="input_id" value="{$form['input_id']}">
<input type="hidden" name="text_id" value="{$form['text_id']}">
<input type="hidden" name="campus_id" value="{$form['campus_id']}">
<input type="hidden" name="content_id" value="qf_vlan_results">
<table style="{$style['content_box']}" cellspacing="0" border="0" cellpadding="0">
Expand Down

0 comments on commit 244257f

Please sign in to comment.