[open-ils-commits] [GIT] Evergreen ILS branch master updated. 8c5c65d2c6532f4e5d059d6ae59507707b428010

Evergreen Git git at git.evergreen-ils.org
Tue Sep 13 15:43:08 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  8c5c65d2c6532f4e5d059d6ae59507707b428010 (commit)
      from  8c3fab3c4a25a9b8a439882f154736a79396f46e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8c5c65d2c6532f4e5d059d6ae59507707b428010
Author: Mike Rylander <mrylander at gmail.com>
Date:   Tue Sep 13 15:37:06 2011 -0400

    Provide a default value for, and explicitly change, the record type so the type dropdown works as intended
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js
index 6a8680b..3547a8e 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.js
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js
@@ -772,6 +772,7 @@ function toggleFFE () {
 function changeFFEditor (type) {
     var grid = document.getElementById('leaderGrid');
     grid.setAttribute('type',type);
+    document.getElementById('recordTypeLabel').setAttribute('value',type);
 
     // Hide FFEditor rows that we don't need for our current type
     // If all of the labels for a given row do not include our
diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.xul b/Open-ILS/xul/staff_client/server/cat/marcedit.xul
index 3d28729..7204883 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.xul
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.xul
@@ -59,7 +59,7 @@
         <groupbox flex="0">
             <caption>
                 <label value="&staff.cat.marcedit.toggleFFE.label;" ondblclick="toggleFFE();"/>
-                <label id="recordTypeLabel" context="recordTypeMenu"/>
+                <label id="recordTypeLabel" value="BKS" context="recordTypeMenu"/>
             </caption>
             <vbox flex="0">
                 <grid flex="0" id="leaderGrid" type="BKS" hidden="false" oils_persist="hidden">

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/xul/staff_client/server/cat/marcedit.js  |    1 +
 Open-ILS/xul/staff_client/server/cat/marcedit.xul |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list