From: erickson Date: Wed, 4 Oct 2006 22:40:46 +0000 (+0000) Subject: added debug option which just shows method called X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=14dc8460a91cb3d0c03f829984d8e3231a539249;p=evergreen%2Fpines.git added debug option which just shows method called git-svn-id: svn://svn.open-ils.org/ILS/trunk@6388 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 8a45f8ec8f..47c9e0cb55 100644 --- a/Open-ILS/web/opac/common/js/opac_utils.js +++ b/Open-ILS/web/opac/common/js/opac_utils.js @@ -8,6 +8,7 @@ var cookieManager = new HTTP.Cookies(); var __ilsEvent; /* the last event the occurred */ +var DEBUGSLIM; function Request(type) { var s = type.split(":"); @@ -44,6 +45,9 @@ function Request(type) { str += js2JSON(p[i]); } _debug('request ' + s[0] + ' ' + s[1] + ' ' + str ); + + } else if( DEBUGSLIM ) { + _debug('request ' + s[1]); } }