From 166f9994fd4bbbdb8728ca6fb946b0235a7b03b5 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 22 Oct 2009 06:54:02 +0000 Subject: [PATCH] removes a warning about a bare #text element in the vbox git-svn-id: svn://svn.open-ils.org/ILS/trunk@14553 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/backdate_post_checkin.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/circ/backdate_post_checkin.js b/Open-ILS/xul/staff_client/server/circ/backdate_post_checkin.js index 3c255f98ab..4a9ccd8745 100644 --- a/Open-ILS/xul/staff_client/server/circ/backdate_post_checkin.js +++ b/Open-ILS/xul/staff_client/server/circ/backdate_post_checkin.js @@ -35,7 +35,12 @@ function backdate_post_checkin_init() { var x = $('circ_brief_area'); var circ_ids = xul_param('circ_ids',{'modal_xulG':true}); - if (x) x.appendChild( document.createTextNode( $('circStrings').getFormattedString('staff.circ.backdate.circ_ids.prompt',[circ_ids.length,circ_ids.join(',')]) ) ); + if (x) { + var d = document.createElement('description'); + var t = document.createTextNode( $('circStrings').getFormattedString('staff.circ.backdate.circ_ids.prompt',[circ_ids.length,circ_ids.join(',')]) ); + x.appendChild( d ); + d.appendChild( t ); + } /* set widget behavior */ $('cancel_btn').addEventListener( -- 2.11.0