[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 29f1dabdf706d00ef1e1b90051c933dd58f4e9bd

Evergreen Git git at git.evergreen-ils.org
Sun Jul 31 00:55:37 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  29f1dabdf706d00ef1e1b90051c933dd58f4e9bd (commit)
      from  ceb2ac624bbfd0013aca41a72bb297c3b867e769 (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 29f1dabdf706d00ef1e1b90051c933dd58f4e9bd
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Sun Jul 31 01:08:07 2011 -0400

    use isNaN here, since NaN == NaN => false
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

diff --git a/Open-ILS/xul/staff_client/server/cat/spine_labels.js b/Open-ILS/xul/staff_client/server/cat/spine_labels.js
index c90734a..fb2eccf 100644
--- a/Open-ILS/xul/staff_client/server/cat/spine_labels.js
+++ b/Open-ILS/xul/staff_client/server/cat/spine_labels.js
@@ -507,7 +507,7 @@
                     if (!lm) {
                         lm = g.data.hash.aous['cat.spine.line.margin'] || 0;
                     }
-                    var mm = Number($('mm').value); if (mm == NaN) mm = 2; /* middle margin */
+                    var mm = Number($('mm').value); if (isNaN(mm)) mm = 2; /* middle margin */
                     var lw = Number($('lw').value); /* spine label width */
                     if (!lw) {
                         lw = g.data.hash.aous['cat.spine.line.width'] || 8;

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

Summary of changes:
 .../xul/staff_client/server/cat/spine_labels.js    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list