Skip to content
Snippets Groups Projects
Commit f2a70336 authored by pratik.joshi's avatar pratik.joshi
Browse files

CRM-12570 fix

parent ade5b801
Branches
Tags
No related merge requests found
......@@ -73,10 +73,10 @@ cj(function($) {
$("#{$form.formName}").validate(params);
{literal}
// Call any post-initialization callbacks
if (CRM.validate && CRM.validate.functions) {
for (var i in CRM.validate.functions) {
CRM.validate.functions[i]();
}
if (CRM.validate && CRM.validate.functions.length) {
$.each(CRM.validate.functions, function(i, func) {
func();
});
}
{/literal}
{/if}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment