From: Deepak Srivastava Date: Mon, 12 Aug 2013 11:40:13 +0000 (+0530) Subject: CRM-12910, fixes to also consider ajax calls and do re-binding when calling crmRevisi... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6fa89b0b284fa7998dbb784b7508d036e69a9a5e;p=civicrm-core.git CRM-12910, fixes to also consider ajax calls and do re-binding when calling crmRevisionLink --- diff --git a/CRM/Report/BAO/Hook.php b/CRM/Report/BAO/Hook.php index 12bbbf95f0..6c2cee9f6c 100644 --- a/CRM/Report/BAO/Hook.php +++ b/CRM/Report/BAO/Hook.php @@ -69,7 +69,6 @@ class CRM_Report_BAO_Hook { $this->_queryObjects = array(); CRM_Utils_Hook::queryObjects($this->_queryObjects, 'Report'); } - CRM_Core_Error::debug( '$this->_queryObjects', $this->_queryObjects ); return $this->_queryObjects; } diff --git a/templates/CRM/common/logButton.tpl b/templates/CRM/common/logButton.tpl index c9cef83fc8..c22a2f9e0b 100644 --- a/templates/CRM/common/logButton.tpl +++ b/templates/CRM/common/logButton.tpl @@ -36,16 +36,26 @@ Note: This file is used by CivHR *} -View Revisions +{if !$onlyScript} + View Revisions +{/if} {literal} {/literal}