[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 3dc42dd9be52946f67313ef789742414be7255cc

Evergreen Git git at git.evergreen-ils.org
Mon Aug 22 11:54:01 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  3dc42dd9be52946f67313ef789742414be7255cc (commit)
      from  6d4b8f44e7614a37b109570dc7f34017cead3f6e (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 3dc42dd9be52946f67313ef789742414be7255cc
Author: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Date:   Mon Aug 22 10:37:30 2011 -0400

    Display only available formats for metarecord holds in IE
    
    The OPAC's usual hideMe()/unHideMe() tricks don't work for <option>
    elements in Internet Explorer 8.  Use the disabled attribute.
    
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/web/opac/skin/default/js/holds.js b/Open-ILS/web/opac/skin/default/js/holds.js
index 9634b4d..6dee94d 100644
--- a/Open-ILS/web/opac/skin/default/js/holds.js
+++ b/Open-ILS/web/opac/skin/default/js/holds.js
@@ -607,6 +607,7 @@ function holdsSetFormatSelector() {
     for( var i = 0; i < selector.options.length; i++ ) {
         if (selector.options[i].className.indexOf('hide_me') == -1)
             hideMe(selector.options[i]);
+        selector.options[i].disabled = true;
     }
 
 	for( var i = 0; i < avail_formats.length; i++ ) {
@@ -615,6 +616,7 @@ function holdsSetFormatSelector() {
         if (!opt) continue;
 		if(type=='M') opt.selected=true;
 		unHideMe(opt);
+        opt.disabled = false;
 	}
 }
 

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

Summary of changes:
 Open-ILS/web/opac/skin/default/js/holds.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list