leaving origloc unset so it can be set by later code
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 29 Jun 2006 15:42:38 +0000 (15:42 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 29 Jun 2006 15:42:38 +0000 (15:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@4838 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/common/js/opac_utils.js

index 2a95a9f..beaebad 100644 (file)
@@ -122,7 +122,8 @@ function initParams() {
        if(isNaN(HITCOUNT))     HITCOUNT        = 0;
        if(isNaN(MRID))         MRID            = 0;
        if(isNaN(RID))                  RID             = 0;
-       if(isNaN(ORIGLOC))      ORIGLOC = 1;
+       //if(isNaN(ORIGLOC))    ORIGLOC = 1;
+       if(isNaN(ORIGLOC))      ORIGLOC = 0; /* so we know it hasn't been set */
        if(isNaN(AUTHTIME))     AUTHTIME        = 0;
        if(ADVTERM==null)               ADVTERM = "";
 }