[open-ils-commits] r598 - conifer/trunk/xul/server/cat (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Jul 28 03:43:43 EDT 2009
Author: dbs
Date: 2009-07-28 03:43:38 -0400 (Tue, 28 Jul 2009)
New Revision: 598
Modified:
conifer/trunk/xul/server/cat/spine_labels.js
Log:
Don't miss the authoritative call on barcodes for spine_labels.js
Modified: conifer/trunk/xul/server/cat/spine_labels.js
===================================================================
--- conifer/trunk/xul/server/cat/spine_labels.js 2009-07-28 07:41:59 UTC (rev 597)
+++ conifer/trunk/xul/server/cat/spine_labels.js 2009-07-28 07:43:38 UTC (rev 598)
@@ -3,7 +3,7 @@
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
if (typeof JSAN == 'undefined') { throw( $("commonStrings").getString('common.jsan.missing') ); }
JSAN.errorLevel = "die"; // none, warn, or die
- JSAN.addRepository('/xul/rel_trunk/server/');
+ JSAN.addRepository('/xul/server/');
JSAN.use('util.error'); g.error = new util.error();
g.error.sdump('D_TRACE','my_init() for spine_labels.xul');
@@ -31,7 +31,7 @@
g.volumes = {};
for (var i = 0; i < g.barcodes.length; i++) {
- var copy = g.network.simple_request( 'FM_ACP_RETRIEVE_VIA_BARCODE', [ g.barcodes[i] ] );
+ var copy = g.network.simple_request( 'FM_ACP_RETRIEVE_VIA_BARCODE.authoritative', [ g.barcodes[i] ] );
if (typeof copy.ilsevent != 'undefined') throw(copy);
if (!g.volumes[ copy.call_number() ]) {
var volume = g.network.simple_request( 'FM_ACN_RETRIEVE.authoritative', [ copy.call_number() ] );
@@ -55,7 +55,7 @@
} catch(E) {
try {
- g.error.standard_unexpected_error_alert('/xul/rel_trunk/server/cat/spine_labels.xul',E);
+ g.error.standard_unexpected_error_alert('/xul/server/cat/spine_labels.xul',E);
} catch(F) {
alert('FIXME: ' + js2JSON(E));
}
@@ -231,7 +231,7 @@
var lw = Number($('lw').value) || 8; var ll = Number($('ll').value) || 9; /* spine label width and length */
var plw = Number($('plw').value) || 28; var pll = Number($('pll').value) || 9; /* pocket label width and length */
var html = "<html><head>";
- html += "<link type='text/css' rel='stylesheet' href='/xul/rel_trunk/server/skin/print.css'></link>"
+ html += "<link type='text/css' rel='stylesheet' href='/xul/server/skin/print.css'></link>"
html += "<link type='text/css' rel='stylesheet' href='data:text/css,pre{font-size:" + pt + "pt;}'></link>";
html += "<title>Spine Labels</title></head><body>\n";
var nl = document.getElementsByAttribute('name','template');
More information about the open-ils-commits
mailing list