From: Tim Otten Date: Mon, 12 Aug 2013 06:47:01 +0000 (-0700) Subject: CRM-13165 - CRM/Form/validate.tpl - Make it easier to include in CiviHR X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0781ce834906ee285519c7cf717755d29c6277e8;p=civicrm-core.git CRM-13165 - CRM/Form/validate.tpl - Make it easier to include in CiviHR ---------------------------------------- * CRM-13165: hrjob: Re-save produces blocking error, "X is not a valid amount" http://issues.civicrm.org/jira/browse/CRM-13165 --- diff --git a/templates/CRM/Form/validate.tpl b/templates/CRM/Form/validate.tpl index 31dd81c102..419e696dbc 100644 --- a/templates/CRM/Form/validate.tpl +++ b/templates/CRM/Form/validate.tpl @@ -27,6 +27,9 @@ {* Initialize jQuery validate *} {* Extra params and functions may be added to the CRM.validate object before this template is loaded *} +{if !$crm_form_validate_included} +{assign var=crm_form_validate_included value=1} + {literal} +{/if}