crmMailing - Skip token dropdown when tabbing
authorTim Otten <totten@civicrm.org>
Thu, 12 Feb 2015 23:23:50 +0000 (15:23 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 12 Feb 2015 23:23:50 +0000 (15:23 -0800)
partials/crmMailing/body_html.html
partials/crmMailing/body_text.html
partials/crmMailing/mailing.html
partials/crmMailingAB/joint-mailing.html

index eb3b404de9c1a70230e91e2d199431be12764306..9182a2575690c3a5f738eded06effb05c72dd4e9 100644 (file)
@@ -4,7 +4,7 @@ Required vars: mailing
 <div ng-form="htmlForm" crm-ui-id-scope>
   <div ng-controller="EmailBodyCtrl">
     <div style="float: right;">
-      <input crm-mailing-token on-select="$broadcast('insert:body_html', token.name)"/>
+      <input crm-mailing-token on-select="$broadcast('insert:body_html', token.name)" tabindex="-1"/>
     </div>
 
     <div>
index 971940194df059f76e58492f073babb9bb57b14f..598c7792302223f20d09a93f6f27aeddd8bd12da 100644 (file)
@@ -4,7 +4,7 @@ Required vars: mailing, crmMailingConst
 <div ng-form="textForm" crm-ui-id-scope>
   <div ng-controller="EmailBodyCtrl">
     <div style="float: right;">
-      <input crm-mailing-token on-select="$broadcast('insert:body_text', token.name)" />
+      <input crm-mailing-token on-select="$broadcast('insert:body_text', token.name)" tabindex="-1"/>
     </div>
 
     <div>
index 84b855b69f6be061ada1d959fd01ae6774d93fc1..ebc54ff169324891a0bca0e223d1acf33e216bcb 100644 (file)
@@ -53,7 +53,7 @@ It could perhaps be thinned by 30-60% by making more directives.
     </div>
     <div crm-ui-field="subform.subject" crm-title="ts('Subject')">
       <div style="float: right;">
-        <input crm-mailing-token on-select="$broadcast('insert:subject', token.name)" />
+        <input crm-mailing-token on-select="$broadcast('insert:subject', token.name)" tabindex="-1"/>
       </div>
       <input
         crm-ui-id="subform.subject"
index 1537025efb4287599d6a15b6c13be34dac9692cb..27c5a3eb6c32354aa10bea33ccc9a1282303a35b 100644 (file)
@@ -149,7 +149,7 @@ processed by Angular; if false, the field will be hidden and completely ignored
 
     <div crm-ui-field="subform.subject" crm-title="ts('Subject')" ng-if="fields.subject">
       <div style="float: right;">
-        <input crm-mailing-token on-select="$broadcast('insert:subject', token.name)" />
+        <input crm-mailing-token on-select="$broadcast('insert:subject', token.name)" tabindex="-1"/>
       </div>
       <input
         crm-ui-id="subform.subject"
@@ -163,7 +163,7 @@ processed by Angular; if false, the field will be hidden and completely ignored
     </div>
     <div crm-ui-field="subform.subjectA" crm-title="ts('Subject (A)')" ng-if="fields.subjectA">
       <div style="float: right;">
-        <input crm-mailing-token on-select="$broadcast('insert:subjectA', token.name)" />
+        <input crm-mailing-token on-select="$broadcast('insert:subjectA', token.name)" tabindex="-1"/>
       </div>
       <input
         crm-ui-id="subform.subjectA"
@@ -177,7 +177,7 @@ processed by Angular; if false, the field will be hidden and completely ignored
     </div>
     <div crm-ui-field="subform.subjectB" crm-title="ts('Subject (B)')" ng-if="fields.subjectB">
       <div style="float: right;">
-        <input crm-mailing-token on-select="$broadcast('insert:subjectB', token.name)" />
+        <input crm-mailing-token on-select="$broadcast('insert:subjectB', token.name)" tabindex="-1"/>
       </div>
       <input
         crm-ui-id="subform.subjectB"