From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 17 Jan 2007 03:53:35 -0000 Subject: [Cluster-devel] conga/luci/cluster fence_device.js Message-ID: <20070117035335.25114.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- conga/luci/cluster/fence_device.js 2007/01/10 23:49:18 1.2.2.3 +++ conga/luci/cluster/fence_device.js 2007/01/17 03:53:35 1.2.2.4 @@ -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); }