dump() is a mozilla thing; use console.log instead
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 17 Dec 2010 15:12:28 +0000 (15:12 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 17 Dec 2010 15:12:28 +0000 (15:12 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@19007 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/rdetail.js
Open-ILS/web/opac/skin/default/js/result_common.js

index 14bd727..08e8319 100644 (file)
@@ -556,7 +556,7 @@ function _rdetailDraw(r) {
         try {
             chili_init();
         } catch(E) {
-            dump(E + '\n');
+            console.log(E + '\n');
             hideMe($('rdetail_reviews_link'));
             hideMe($('rdetail_chilifresh_reviews'));
         }
index dc3ae94..62f1eed 100644 (file)
@@ -689,7 +689,7 @@ function fetchGoogleBooksLink () {
 
 function fetchChiliFreshReviews() {
     if (chilifresh && chilifresh != '(none)') {
-        try { chili_init(); } catch(E) { dump(E + '\n'); }
+        try { chili_init(); } catch(E) { console.log(E + '\n'); }
     }
 }