From 14dc8460a91cb3d0c03f829984d8e3231a539249 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 4 Oct 2006 22:40:46 +0000 Subject: [PATCH] added debug option which just shows method called git-svn-id: svn://svn.open-ils.org/ILS/trunk@6388 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/common/js/opac_utils.js | 4 ++++ 1 file changed, 4 insertions(+) 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]); } } -- 2.11.0