From 57323f9b75b57392eab270b6022fe9bf584d4e18 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 18 Aug 2006 21:26:51 +0000 Subject: [PATCH] preventing event alert on record fetcher git-svn-id: svn://svn.open-ils.org/ILS/trunk@5599 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/common/js/opac_utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/common/js/opac_utils.js b/Open-ILS/web/opac/common/js/opac_utils.js index 9be522b62f..442b3f2926 100644 --- a/Open-ILS/web/opac/common/js/opac_utils.js +++ b/Open-ILS/web/opac/common/js/opac_utils.js @@ -829,8 +829,10 @@ function findRecord(id,type) { var meth = FETCH_RMODS if(type == 'M') meth = FETCH_MRMODS; var req = new Request(meth, id); + req.request.alertEvent = false; req.send(true); - return req.result(); + var res = req.result(); + if( checkILSEvent(res) ) return null; } function Timer(name, node){ -- 2.11.0