From: dbs Date: Tue, 28 Jul 2009 07:43:38 +0000 (+0000) Subject: Don't miss the authoritative call on barcodes for spine_labels.js X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ad44cb1fd8af42148187c19a6ff78b881082f360;p=contrib%2FConifer.git Don't miss the authoritative call on barcodes for spine_labels.js git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@598 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- diff --git a/xul/server/cat/spine_labels.js b/xul/server/cat/spine_labels.js index df9a3339f2..7cca1e88df 100644 --- a/xul/server/cat/spine_labels.js +++ b/xul/server/cat/spine_labels.js @@ -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 += "" + html += "" html += ""; html += "Spine Labels\n"; var nl = document.getElementsByAttribute('name','template');