From d748fe929021bd3d8ad7d2bc575eb35b78b689e0 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sat, 9 Feb 2019 15:45:50 -0500 Subject: [PATCH] Lp 1813290: Fix IAMBROWSER check in ac lineitem table. Looks like commit e9a9875d added a check for IAMBROWSER that missed the window. This commit adds the window. Signed-off-by: Jason Stephenson Signed-off-by: John Amundson Signed-off-by: Tiffany Little Signed-off-by: Galen Charlton --- Open-ILS/web/js/ui/default/acq/common/li_table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js index 8c59f4e7c3..4dd6d3f17a 100644 --- a/Open-ILS/web/js/ui/default/acq/common/li_table.js +++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js @@ -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); -- 2.43.2