From 57a6b5d6a11726246ff886da43c3bd804d3884c2 Mon Sep 17 00:00:00 2001
From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Tue, 22 Sep 2009 17:20:05 +0000
Subject: [PATCH] curse of interface duplication.  Fix DOB behavior for
 vertical patron summary

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14088 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/xul/staff_client/server/patron/summary_overlay.xul       | 5 ++---
 Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul b/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
index a1e1266b54..914a5c3fbe 100644
--- a/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
+++ b/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
@@ -159,9 +159,8 @@
 			</vbox>
 		</row>
 		<row id="pdsgr3">
-			<label id="PatronSummaryContact_date_of_birth_label" class="text_left dob label"
-				value="&staff.patron_display.date_of_birth.label;"/>
-			<label id="patron_date_of_birth" class="dob value"/>
+            <label id="PatronSummaryContact_date_of_birth_label" click_to_hide_dob="true" class="text_left dob label click_link" value="&staff.patron_display.date_of_birth.label;"/>
+            <label id="patron_date_of_birth" class="dob value" hide_value="true" oils_persist="hide_value"/>
 		</row>
 		<row id="pdsgr4"><label id="pdsgr4l" value=" "/></row>
 	</rows>
diff --git a/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul b/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul
index 378a0d99f1..ce16d2e24f 100644
--- a/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul
+++ b/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul
@@ -27,7 +27,7 @@
                 <rows>
                     <row>
                         <label id="PatronSummaryContact_date_of_birth_label" click_to_hide_dob="true" class="text_left dob label click_link" value="&staff.patron_display.date_of_birth.label;"/>
-                        <label id="patron_date_of_birth" class="dob value" hide_value="true" oils_persist="hide_value"/><!-- FIXME: persist doesn't work for this -->
+                        <label id="patron_date_of_birth" class="dob value" hide_value="true" oils_persist="hide_value"/>
                     </row>
                     <row>
                         <label id="PatronSummaryContact_library_card_label" class="text_left card label"
-- 
2.11.0