From: pines Date: Mon, 8 Jan 2007 18:47:19 +0000 (+0000) Subject: close button for copy notes X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=21ed152ee191ae1e2f43dda8be7aa8b884f32cd3;p=Evergreen.git close button for copy notes git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@6742 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/cat/copy_notes.xul b/Open-ILS/xul/staff_client/server/cat/copy_notes.xul index cd2ebd78a8..8b12908833 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_notes.xul +++ b/Open-ILS/xul/staff_client/server/cat/copy_notes.xul @@ -107,7 +107,6 @@ /* button bar */ var hb = document.createElement('hbox'); np.appendChild(hb); - var spacer = document.createElement('spacer'); hb.appendChild(spacer); spacer.flex = 1; var btn1 = document.createElement('button'); hb.appendChild(btn1); btn1.setAttribute('label','Delete This Note'); btn1.setAttribute('image',"/xul/server/skin/media/images/up_arrow.gif"); @@ -123,6 +122,10 @@ } }(i), false ); + var spacer = document.createElement('spacer'); hb.appendChild(spacer); spacer.flex = 1; + var btn2 = document.createElement('button'); hb.appendChild(btn2); + btn2.setAttribute('label','Close Window'); + btn2.setAttribute('oncommand','window.close();'); } }