[open-ils-commits] r14553 - trunk/Open-ILS/xul/staff_client/server/circ (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Oct 22 02:54:07 EDT 2009
Author: phasefx
Date: 2009-10-22 02:54:02 -0400 (Thu, 22 Oct 2009)
New Revision: 14553
Modified:
trunk/Open-ILS/xul/staff_client/server/circ/backdate_post_checkin.js
Log:
removes a warning about a bare #text element in the vbox
Modified: trunk/Open-ILS/xul/staff_client/server/circ/backdate_post_checkin.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/backdate_post_checkin.js 2009-10-22 06:46:11 UTC (rev 14552)
+++ trunk/Open-ILS/xul/staff_client/server/circ/backdate_post_checkin.js 2009-10-22 06:54:02 UTC (rev 14553)
@@ -35,7 +35,12 @@
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(
More information about the open-ils-commits
mailing list