[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 2e42050d7d67152699e4d56f9ee450f6cad5ae9c
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_1 has been updated
via 2e42050d7d67152699e4d56f9ee450f6cad5ae9c (commit)
from cd4fec40255ca6a9095d153e573f7ee1d23326c1 (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 2e42050d7d67152699e4d56f9ee450f6cad5ae9c
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 f993615..87c1945 100644
--- a/Open-ILS/xul/staff_client/server/cat/spine_labels.js
+++ b/Open-ILS/xul/staff_client/server/cat/spine_labels.js
@@ -519,7 +519,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