From: erickson Date: Fri, 18 Aug 2006 21:26:51 +0000 (+0000) Subject: preventing event alert on record fetcher X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=57323f9b75b57392eab270b6022fe9bf584d4e18;p=Evergreen.git preventing event alert on record fetcher git-svn-id: svn://svn.open-ils.org/ILS/trunk@5599 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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){