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

Evergreen Git git at git.evergreen-ils.org
Wed Mar 27 15:47:32 EDT 2013


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  f5a9d766097b939cc64b3338d5153fb47503be4b (commit)
      from  ece99f6dda0bded73c6449ff0f60c2cebaa4ed72 (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 f5a9d766097b939cc64b3338d5153fb47503be4b
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Mon Mar 25 17:39:19 2013 -0400

    Undo holding lib to SRE linkage (alt dist editor)
    
    Since the legacy record dropdown piggy-backs on the OPAC display, it
    doesn't work in the alt interface (which has no clear OPAC context).
    
    Worse, this leads to a Javascript error on the first editor load for
    the distribution list, preventing subsequent editors.
    
    A better fix will require more consideration, but for now, let's
    revert to the unformatted display used in 2.3.
    
    Also, this commit removes an unnecessary conditional (it was always
    true).
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/templates/serial/subscription.tt2 b/Open-ILS/src/templates/serial/subscription.tt2
index 5d91795..5081f32 100644
--- a/Open-ILS/src/templates/serial/subscription.tt2
+++ b/Open-ILS/src/templates/serial/subscription.tt2
@@ -90,12 +90,10 @@
                     <th field="end_date" formatter="format_date">
                         [% l('End Date') %]
                     </th>
-                    [%- IF CGI.param('context') != 'scv' -%]
                     <th field="record_entry" width="20em"
                         formatter="format_bib">
                         [% l('Bibliographic Record') %]
                     </th>
-                    [%- END -%]
                     <th field="expected_date_offset">[% l('Expected Date Offset') %]</th>
                     <th field="num_dist">[% l('Number of Distributions') %]</th>
                 </tr>
@@ -123,8 +121,11 @@
                         "disabled": true, "value": sub_id
                     });
 
+                [%- IF CGI.param('context') == 'scv' -%]
                 // attach the holding_lib selector to the record_entry selector
                 dist_grid.overrideWidgetArgs.holding_lib = {'dijitArgs' : {'onChange' : function(value) { populate_sre_selector(dist_grid, value); } }};
+
+                [%- END -%]
                 var _display_grouping_store = new dojo.data.ItemFileReadStore({
                     "data": {
                         "identifier": "display_grouping",

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

Summary of changes:
 Open-ILS/src/templates/serial/subscription.tt2 |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list