[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. e794631d602a676ad407ab721b730791c1c906da

Evergreen Git git at git.evergreen-ils.org
Fri Dec 21 10:07:09 EST 2012


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_3 has been updated
       via  e794631d602a676ad407ab721b730791c1c906da (commit)
      from  b6bacb792e0e0de13b25f9960d6f67570f102d41 (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 e794631d602a676ad407ab721b730791c1c906da
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Fri Dec 21 07:26:36 2012 -0500

    lp1090867 Hide Fields undefined var error
    
    This fixes the "Error in widget_prompt.js, my_init(): TypeError: offlineStrings
    is undefined" error.
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/xul/staff_client/chrome/content/util/widget_prompt.js b/Open-ILS/xul/staff_client/chrome/content/util/widget_prompt.js
index ff128ca..3bb78a4 100644
--- a/Open-ILS/xul/staff_client/chrome/content/util/widget_prompt.js
+++ b/Open-ILS/xul/staff_client/chrome/content/util/widget_prompt.js
@@ -13,6 +13,10 @@ function my_init() {
             $('widget_prompt_main').appendChild(widget);
         }
 
+        if (typeof offlineStrings == 'undefined') {
+            offlineStrings = $('offlineStrings');
+        }
+
         var ok_label = xul_param('ok_label') || offlineStrings.getString('common.ok.label');
         $('ok_btn').setAttribute('label',ok_label);
 

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

Summary of changes:
 .../chrome/content/util/widget_prompt.js           |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list