[open-ils-commits] r18867 - branches/rel_2_0/Open-ILS/web/js/dojo/openils/acq (gmc)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 29 19:12:07 EST 2010
Author: gmc
Date: 2010-11-29 19:12:07 -0500 (Mon, 29 Nov 2010)
New Revision: 18867
Modified:
branches/rel_2_0/Open-ILS/web/js/dojo/openils/acq/Lineitem.js
Log:
fix failure when attempting to create invoice
Occurred for line items that were not part of a selection list
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Modified: branches/rel_2_0/Open-ILS/web/js/dojo/openils/acq/Lineitem.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/js/dojo/openils/acq/Lineitem.js 2010-11-30 00:11:22 UTC (rev 18866)
+++ branches/rel_2_0/Open-ILS/web/js/dojo/openils/acq/Lineitem.js 2010-11-30 00:12:07 UTC (rev 18867)
@@ -144,7 +144,7 @@
var orderDate = '';
var liLink = '';
- if(pl.name() == '') // special pl
+ if(pl && pl.name() == '') // special pl
pl = null;
if(po) {
More information about the open-ils-commits
mailing list