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

Evergreen Git git at git.evergreen-ils.org
Fri Dec 21 10:07:08 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, master has been updated
       via  bff532c317f2ae7bf5157159b0f732ac74483c26 (commit)
      from  9f97cd102c179a194a856a69a51f55e84e71144d (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 bff532c317f2ae7bf5157159b0f732ac74483c26
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