[open-ils-commits] r1238 - conifer/branches/rel_1_6_1/xul/server/cat (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Feb 23 14:05:04 EST 2011
Author: dbs
Date: 2011-02-23 14:05:00 -0500 (Wed, 23 Feb 2011)
New Revision: 1238
Modified:
conifer/branches/rel_1_6_1/xul/server/cat/spine_labels.js
Log:
Told you it was naive... define a relatively crucial undefined var
Modified: conifer/branches/rel_1_6_1/xul/server/cat/spine_labels.js
===================================================================
--- conifer/branches/rel_1_6_1/xul/server/cat/spine_labels.js 2011-02-23 18:59:39 UTC (rev 1237)
+++ conifer/branches/rel_1_6_1/xul/server/cat/spine_labels.js 2011-02-23 19:05:00 UTC (rev 1238)
@@ -79,6 +79,7 @@
var plw = Number($('plw').value) || 28; /* pocket label width */
var pll = Number($('pll').value) || 9; /* pocket label length */
for (var i in g.volumes) {
+ var volume = g.volumes[i];
var vb = document.createElement('vbox'); pn.appendChild(vb); vb.setAttribute('name','template'); vb.setAttribute('acn_id',g.volumes[i].id());
var ds = document.createElement('description'); vb.appendChild(ds);
ds.appendChild( document.createTextNode( g.volumes[i].label() ) );
More information about the open-ils-commits
mailing list