Skip to contentSkip to conversation

conga/luci/cluster form-macros

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

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL5
Changes by: rmccabe at sourceware.org 2007-01-16 17:38:06

Modified files:
luci/cluster : form-macros

Log message:
regression found when testing the fix for bz212021

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.90.2.17&r2=1.90.2.18

luci/cluster/form-macros +2 -2
@@ -2972,7 +2972,7 @@
 										value="Remove this device"
 										tal:attributes="
 											onclick python: 'del_fence(\'' + cur_fence_dev_id + '\')'" />
-									<input tal:condition="exists: cur_fencedev/isShared"
+									<input tal:condition="cur_fencedev/isShared"
 										name="add_instance" type="button"
 										value="Add an instance"
 										tal:attributes="onclick python: 'add_fence_instance(\'' + cur_fence_dev_id + '\',\'' + cur_fence_type + '\')'" />
@@ -3041,7 +3041,7 @@
 										value="Remove this device"
 										tal:attributes="
 											onclick python: 'del_fence(\'' + cur_fence_dev_id + '\')'" />
-									<input tal:condition="exists: cur_fencedev/isShared"
+									<input tal:condition="cur_fencedev/isShared"
 										name="add_instance" type="button"
 										value="Add an instance"
 										tal:attributes="onclick python: 'add_fence_instance(\'' + cur_fence_dev_id + '\',\'' + cur_fence_type + '\')'" />