Skip to contentSkip to conversation

conga/luci/cluster fence_device.js

Cluster-devel [email protected] 1 participant 1 message Jan 17, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL5
Changes by: rmccabe at sourceware.org 2007-01-17 03:53:35

Modified files:
luci/cluster : fence_device.js

Log message:
regression found when testing the fix for bz212021

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/fence_device.js.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.2.2.3&r2=1.2.2.4

luci/cluster/fence_device.js +2 -1
@@ -144,7 +144,8 @@
 
 	var remove_form = document.createElement('form');
 	remove_form.appendChild(remove_button);
-	remove_form.appendChild(add_instance_button);
+	if (sharable)
+		remove_form.appendChild(add_instance_button);
 	remove_div.appendChild(remove_form);
 	container_element.appendChild(remove_div);
 }