populate note textbox with existing note on edit
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Jul 2009 08:21:46 +0000 (08:21 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Jul 2009 08:21:46 +0000 (08:21 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13770 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/edit_standing_penalty.js

index df846f9..8523e06 100644 (file)
@@ -30,6 +30,7 @@ function edit_penalty_init() {
         }
 
         /* set widget values */
+        document.getElementById('note_tb').value = xul_param('note',{'modal_xulG':true});
         document.getElementById('csp_menupopup').setAttribute('value',xul_param('id',{'modal_xulG':true}));
         if (xul_param('id',{'modal_xulG':true})==21) { // SILENT_NOTE
             document.getElementById('note_btn').checked = true;