[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 46fb4caadc58467d17f60b717358ba5dcb7c84b6

Evergreen Git git at git.evergreen-ils.org
Tue Sep 13 15:44:55 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, rel_2_0 has been updated
       via  46fb4caadc58467d17f60b717358ba5dcb7c84b6 (commit)
      from  b07c1608612eadf7b770cd87c10999a22e4256b0 (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 46fb4caadc58467d17f60b717358ba5dcb7c84b6
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 15ffbc8..d768649 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.js
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js
@@ -1349,6 +1349,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 a3d43b6..247c418 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.xul
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.xul
@@ -58,7 +58,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