Skip to contentSkip to conversation

conga/luci/cluster index_html form-macros

Cluster-devel [email protected] 1 participant 1 message Sep 25, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-09-25 16:31:28

Modified files:
luci/cluster : index_html form-macros

Log message:
minor script name change

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/index_html.diff?cvsroot=cluster&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.68&r2=1.69

luci/cluster/index_html +1 -1
@@ -95,7 +95,7 @@
         return false;
         }
 
-      function swap_div(container_id, element_id) {
+      function swap_fence_div(container_id, element_id) {
         container_element = document.getElementById(container_id)
         if (!container_element) {
           alert('Can\'t find element with id = ' + container_id);
luci/cluster/form-macros +2 -2
@@ -829,7 +829,7 @@
 			<td class="cluster node fence_main">
 				<strong class="cluster node">Main Fencing Method</strong>
         <form name="main_fence_form">
-         <select name="select_div" onChange="swap_div('container'), main_fence_form.select_div.options[filler.select_div.selectedIndex].value);">
+         <select name="select_div" onChange="swap_fence_div('container'), main_fence_form.select_div.options[filler.select_div.selectedIndex].value);">
           <option name="fence_apc" value="fence_apc">APC Power Switch</option>
           <option name="fence_wti" value="fence_wti">WTI Power Switch</option>
           <option name="fence_ilo" value="fence_ilo">HP iLO</option>
@@ -903,7 +903,7 @@
 			<td class="cluster node fence_backup">
 				<strong class="cluster node">Backup Fencing Method</strong>
         <form name="backup_fence_form">
-         <select name="select_div" onChange="swap_div('container'), backup_fence_form.select_div.options[backup_fence_form.select_div.selectedIndex].value);">
+         <select name="select_div" onChange="swap_fence_div('container'), backup_fence_form.select_div.options[backup_fence_form.select_div.selectedIndex].value);">
           <option name="fence_apc_b" value="fence_apc_b">APC Power Switch</option>
           <option name="fence_wti_b" value="fence_wti_b">WTI Power Switch</option>
           <option name="fence_ilo_b" value="fence_ilo_b">HP iLO</option>