]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1282286 Tab is NULL error collab/dyrcona/LP12822286_Tab_is_NULL_error
authorLiam Whalen <whalen.ld@gmail.com>
Sat, 14 Feb 2015 08:25:05 +0000 (00:25 -0800)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 18 Feb 2015 13:57:35 +0000 (08:57 -0500)
commit8ac1abc74ebace4879f1b190bcb02a9c11c7bc51
tree87301b46e1c5714b8b73b5149c9964498aa8f719
parent9238334caad810f09e53466e65a634a58e332931
LP#1282286 Tab is NULL error

When editing a MARC record in Vandelay or MFHD holdings in a popup XUL
WIndow, a tab is NULL error is presented to the user.

This happens because an undefined variable is being used when it should
not be.  This code adds a check for that variable to ensure it exists
before using it.  The variable used only matters in cases where tabs are
present, which is not the case with pop up MARC edit windows, so
ignoring the variable in these cases is fine.

Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/xul/staff_client/server/cat/marcedit.js