Lp 1813290: Fix IAMBROWSER check in ac lineitem table.
authorJason Stephenson <jason@sigio.com>
Sat, 9 Feb 2019 20:45:50 +0000 (15:45 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 18 Feb 2019 19:08:02 +0000 (14:08 -0500)
Looks like commit e9a9875d added a check for IAMBROWSER that missed
the window.  This commit adds the window.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

Open-ILS/web/js/ui/default/acq/common/li_table.js

index 8c59f4e..4dd6d3f 100644 (file)
@@ -787,7 +787,7 @@ function AcqLiTable() {
             oilsBasePath + "/acq/lineitem/worksheet/" + li.id() + 
             '?source=' + encodeURIComponent(location.pathname + location.search)
 
-        if (!IAMBROWSER) {
+        if (!window.IAMBROWSER) {
             nodeByName("show_requests_link", row).href =
                 oilsBasePath + "/acq/picklist/user_request?lineitem=" + li.id() +
                 '?source=' + encodeURIComponent(location.pathname + location.search);