From 21ed152ee191ae1e2f43dda8be7aa8b884f32cd3 Mon Sep 17 00:00:00 2001 From: pines Date: Mon, 8 Jan 2007 18:47:19 +0000 Subject: [PATCH] close button for copy notes git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@6742 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/copy_notes.xul | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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();'); } } -- 2.11.0