stray closing /TABLE in the no-ticket case
[freeside.git] / httemplate / elements / select-did.html
index fe1e5d1..8a91d7a 100644 (file)
@@ -34,6 +34,7 @@ Example:
                  NAME     = "phonenum_which"
                  VALUE    = "phonenum"
                  onChange = "phonenum_which_changed(this)"
+                 onClick  = "phonenum_which_changed(this)"
                  <% $phonenum_checked %>
           > Inventory
         </TD>
@@ -80,18 +81,18 @@ Example:
 %       # if/when other folks need an areacode-less DID selector that goes
 %       # directly from state to region
 
-        <TD VALIGN="top">
-          <% include('/elements/select.html',
-                       'field'    => 'phonenum_state',
-                       'id'       => 'phonenum_state',
-                       'options'  => [ '', @{ $export->get_dids } ],
-                       'labels'   => { '' => 'Select province' },
-                       'onchange' => 'phonenum_state_changed(this);',
-                       'disabled' => ( $manual_checked ? 1 : 0 ),
-                    )
-          %>
-          <BR><FONT SIZE="-1" ID="phonenum_state_label" <% $manual_checked ? 'STYLE="color:#999999"' : '' %>>Province</FONT>
-        </TD>
+          <TD VALIGN="top">
+            <% include('/elements/select.html',
+                         'field'    => 'phonenum_state',
+                         'id'       => 'phonenum_state',
+                         'options'  => [ '', @{ $export->get_dids } ],
+                         'labels'   => { '' => 'Select province' },
+                         'onchange' => 'phonenum_state_changed(this);',
+                         'disabled' => ( $manual_checked ? 1 : 0 ),
+                      )
+            %>
+            <BR><FONT SIZE="-1" ID="phonenum_state_label" <% $manual_checked ? 'STYLE="color:#999999"' : '' %>>Province</FONT>
+          </TD>
 
           <TD VALIGN="top">
             <% include('/elements/select-region.html',
@@ -127,11 +128,12 @@ Example:
                      NAME     = "phonenum_which"
                      VALUE    = "phonenum_manual"
                      onChange = "phonenum_which_changed(this)"
+                     onClick  = "phonenum_which_changed(this)"
                      <% $manual_checked %>
               > Manual entry
             </TD>
 
-            <TD VALIGN="top">
+            <TD VALIGN="top" COLSPAN=4>
               <& /elements/input-text.html,
                    %opt,
                    field    => 'phonenum_manual',