CRM-15856 - crmMailingAB - Fix validation check on submit button
authorTim Otten <totten@civicrm.org>
Sat, 14 Feb 2015 03:50:50 +0000 (19:50 -0800)
committerTim Otten <totten@civicrm.org>
Sat, 14 Feb 2015 03:53:49 +0000 (19:53 -0800)
partials/crmMailingAB/edit.html

index 96452981d8e469ded4def353ece411102e28ea4d..9a508c0c1374ebe0ea90dc43c2a83227fc4abdbd 100644 (file)
           }"
           crm-abtest="abtest"></div>
         <center>
-          <a class="crmMailing-submit-button" ng-click="submit()" ng-class="{blocking: block.check(), disabled: crmMailing.$invalid}">
+          <a class="crmMailing-submit-button" ng-click="submit()" ng-class="{blocking: block.check(), disabled: crmMailingAB.$invalid}">
             <div>{{ts('Submit Mailing')}}</div>
           </a>
         </center>