Ensure widgets are initialized after inline-edit form error
authorColeman Watts <coleman@civicrm.org>
Mon, 25 Aug 2014 07:00:44 +0000 (08:00 +0100)
committerColeman Watts <coleman@civicrm.org>
Mon, 25 Aug 2014 07:00:44 +0000 (08:00 +0100)
templates/CRM/Contact/Page/View/Summary.js

index 44dce9f3e71692c7ad55ab6a7567c0339b6f5e71..2680b9aa899071e3833ec01597635a38ece7e120 100644 (file)
       $('.crm-container-snippet', o).replaceWith(response.content);
       $('form', o).validate(CRM.validate.params);
       $('form', o).ajaxForm(ajaxFormParams);
-      o.trigger('crmFormError', [response]).trigger('crmFormLoad');
+      o.trigger('crmFormError', [response]).trigger('crmFormLoad').trigger('crmLoad');
     }
-  };
+  }
 
   /**
    * Configure optimistic locking mechanism for inplace editing