[Cluster-devel] conga/luci/cluster index_html form-macros

jparsons at sourceware.org jparsons at sourceware.org
Mon Sep 25 16:31:29 UTC 2006


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

--- conga/luci/cluster/index_html	2006/09/25 16:25:57	1.13
+++ conga/luci/cluster/index_html	2006/09/25 16:31:28	1.14
@@ -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);
--- conga/luci/cluster/form-macros	2006/09/25 15:59:21	1.68
+++ conga/luci/cluster/form-macros	2006/09/25 16:31:28	1.69
@@ -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>




More information about the Cluster-devel mailing list