<!ENTITY staff.circ.pre_cat.dummy_author.accesskey "A">
<!ENTITY staff.circ.pre_cat.dummy_isbn.label "ISBN">
<!ENTITY staff.circ.pre_cat.dummy_isbn.accesskey "I">
+<!ENTITY staff.circ.pre_cat.dummy_barcode.label "Barcode">
<!ENTITY staff.circ.pre_cat.dummy_circ_modifier.label "Circ Modifier">
<!ENTITY staff.circ.pre_cat.dummy_circ_modifier.accesskey "M">
<!ENTITY staff.circ.pre_cat.cancel.label "Cancel">
dump('yns_alert:\n\ts = ' + s + '\n\ttitle = ' + title + '\n\tb1 = ' + b1 + '\n\tb2 = ' + b2 + '\n\tb3 = ' + b3 + '\n\tc = ' + c + '\n');
- //FIXME - is that good enough of an escape job?
- s = s.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');
-
+ // Check to see if we are in pre-cat checkout so we don't strip out html code
+ var barcode_number = s.match(/\d+/);
+ var test_string = document.getElementById('circStrings').getFormattedString('staff.circ.checkout.not_cataloged.confirm', barcode_number);
+ if(s !== test_string) {
+ //FIXME - is that good enough of an escape job?
+ s = s.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');
+ }
var xml = '<vbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml" flex="1">'
+ '<groupbox flex="1" style="overflow: auto; border: solid thin red;"><caption label="' + (title) + '"/>';
'/xul/server/skin/media/images/book_question.png'
) ) {
- obj.data.dummy_title = ''; obj.data.dummy_author = ''; obj.data.stash('dummy_title','dummy_author');
+ obj.data.dummy_title = ''; obj.data.dummy_author = ''; obj.data.dummy_barcode = params.barcode; obj.data.stash('dummy_title','dummy_author', 'dummy_barcode');
JSAN.use('util.window'); var win = new util.window();
win.open(urls.XUL_PRE_CAT, 'dummy_fields', 'chrome,resizable,modal');
obj.data.stash_retrieve();
x.setAttribute('value', g.data.precat_circ_modifier);
x.value = g.data.precat_circ_modifier;
}
+ document.getElementById('dummy_barcode').value = g.data.dummy_barcode;
document.getElementById('dummy_title').focus();
}
<textbox id="dummy_isbn" context="clipboard"/>
</row>
<row>
+ <label value="&staff.circ.pre_cat.dummy_barcode.label;" control="dummy_barcode"/>
+ <label id="dummy_barcode" class="barcode_highlight"/>
+ </row>
+ <row>
<label value="&staff.circ.pre_cat.dummy_circ_modifier.label;" accesskey="&staff.circ.pre_cat.dummy_circ_modifier.accesskey;" control="dummy_circ_modifier"/>
<box id="placeholder" />
</row>
staff.circ.checkout.override.item_rental_fee_required.warning=A billing for an Item Rental Fee will be added to the patron's account if this action is overrided.
staff.circ.checkout.override.will_auto=If overridden now, subsequent checkouts during this patron's session will auto-override this event.
staff.circ.checkout.error_retrieving_copy_status=Could not retrieve the name of the current status for the copy
-staff.circ.checkout.not_cataloged.confirm=Barcode %1$s was either mis-scanned or is a non-cataloged item. Checkout as a pre-cataloged item?
+staff.circ.checkout.not_cataloged.confirm=Barcode <span class="barcode_highlight">%1$s</span><html:br/> was either mis-scanned or is a non-cataloged item. Checkout as a pre-cataloged item?
staff.circ.pre_cataloged=Pre-cataloged
staff.circ.non_cataloged=Non-cataloged
staff.circ.checkout.cancelled=Checkout cancelled
.oils_event { color: red; }
+.barcode_highlight {
+ color: red;
+ font-weight: bold;
+ font-size: large;
+)
+