removes a warning about a bare #text element in the vbox
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 Oct 2009 06:54:02 +0000 (06:54 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 Oct 2009 06:54:02 +0000 (06:54 +0000)
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

index 3c255f9..4a9ccd8 100644 (file)
@@ -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(