added some debugging
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Sep 2006 16:33:57 +0000 (16:33 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Sep 2006 16:33:57 +0000 (16:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5999 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/xul/staff_client/server/patron/ue.js
Evergreen/xul/staff_client/server/patron/ue_config.js

index 32796f4..72c2912 100644 (file)
@@ -462,6 +462,9 @@ function uEditSaveUser(cloneme) {
 
        if(! patron.dob() ) patron.dob(null);
 
+       _debug("Saving patron with card: " + js2JSON(patron.card()));
+       _debug("Saving full patron: " + js2JSON(patron));
+
        var req = new Request(UPDATE_PATRON, SESSION, patron);
        req.alertEvent = false;
        req.send(true);
index 8838cc6..bc8457b 100644 (file)
@@ -78,6 +78,7 @@ function uEditUsrnameBlur(field) {
 function uEditBarcodeBlur(field) {
        var barcode = uEditNodeVal(field);
        if(!barcode) return;
+       _debug("blurring card with new value " + barcode);
        var req = new Request(CHECK_BARCODE, SESSION, barcode);
        req.callback( 
                function(r) {