From: pines Date: Mon, 27 Nov 2006 15:53:22 +0000 (+0000) Subject: tweaks to note interfaces X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=75e0269ecaa51a47e89e63c91c25609cb7231456;p=evergreen%2Fpines.git tweaks to note interfaces git-svn-id: svn://svn.open-ils.org/ILS/trunk@6612 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();'); } } diff --git a/Open-ILS/xul/staff_client/server/patron/info_notes.xul b/Open-ILS/xul/staff_client/server/patron/info_notes.xul index 65f0b810cc..20b2723328 100644 --- a/Open-ILS/xul/staff_client/server/patron/info_notes.xul +++ b/Open-ILS/xul/staff_client/server/patron/info_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");