debugging the undefined param problem
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Dec 2005 16:35:19 +0000 (16:35 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Dec 2005 16:35:19 +0000 (16:35 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2260 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/patron_barcode_entry.xul

index 2481a08..d6a9512 100644 (file)
 
                                g.cgi = new CGI();
                                var session = g.cgi.param('session');
+                               if (!session) { 
+                                       g.error('D_ERROR','session = ' + session + '\n'
+                                               + 'g.cgi._keys = ' + g.cgi._keys + '\n'
+                                               + 'location = ' + location + '\n'
+                                               + 'location.href = ' + location.href + '\n'
+                                       );
+                                       alert('pause.  session is ' + session ); 
+                               }
 
                                var tb = document.getElementById('barcode_tb');
                                tb.addEventListener(