CRM-15856 - crmMailing - Disable browser's form validation.
authorTim Otten <totten@civicrm.org>
Sat, 24 Jan 2015 05:23:22 +0000 (21:23 -0800)
committerTim Otten <totten@civicrm.org>
Sat, 24 Jan 2015 08:02:06 +0000 (00:02 -0800)
It duplicates Angular's validation and is harder to fine-tune.

partials/crmMailing/edit-unified.html
partials/crmMailing/edit-unified2.html
partials/crmMailing/edit-wizard.html

index 25e1d7b69cb04b2ea8875b9080cf149e54390a94..1e49628338e690f438a5435b645b7930f749861c 100644 (file)
@@ -6,7 +6,7 @@
   {{ts('This mailing has been submitted.')}}
 </div>
 
-<form name="crmMailing" ng-hide="isSubmitted()" crm-autosave="save()" crm-autosave-model="mailing" crm-autosave-if="true">
+<form name="crmMailing" novalidate ng-hide="isSubmitted()" crm-autosave="save()" crm-autosave-model="mailing" crm-autosave-if="true">
   <div class="crm-block crm-form-block crmMailing">
 
     <div crm-mailing-block-summary crm-mailing="mailing"/>
index d56c3bd1ca6dbc57515669d0d200522c593aa1b6..95aa25236afdad92a5ad2a6e7d690bba8ccb7871 100644 (file)
@@ -6,7 +6,7 @@
   {{ts('This mailing has been submitted.')}}
 </div>
 
-<form name="crmMailing" ng-hide="isSubmitted()" crm-autosave="save()" crm-autosave-model="mailing" crm-autosave-if="true">
+<form name="crmMailing" novalidate ng-hide="isSubmitted()" crm-autosave="save()" crm-autosave-model="mailing" crm-autosave-if="true">
   <div class="crm-block crm-form-block crmMailing">
 
     <div crm-mailing-block-summary crm-mailing="mailing"/>
index 84baec755fe388acaf5e7877080d71f2e78b2867..ccde73a4928d0a02314970efb0b7d3283108d21b 100644 (file)
@@ -6,7 +6,7 @@
   {{ts('This mailing has been submitted.')}}
 </div>
 
-<form name="crmMailing" ng-hide="isSubmitted()" crm-autosave="save()" crm-autosave-model="mailing" crm-autosave-if="true">
+<form name="crmMailing" novalidate ng-hide="isSubmitted()" crm-autosave="save()" crm-autosave-model="mailing" crm-autosave-if="true">
   <div class="crm-block crm-form-block crmMailing">
 
     <div crm-ui-wizard>