allow svc_phone.phonenum to be edited when a DID selector is not in use
[freeside.git] / httemplate / elements / select-did.html
index a8ef09d..fcc5adc 100644 (file)
@@ -18,8 +18,9 @@ Example:
       <TR>
         <TD>
           <% include('/elements/select-state.html',
-                       'country' => $country,
-                       'empty'   => 'Select state',
+                       'country'       => $country,
+                       'disable_empty' => 0,
+                       'empty_label'   => 'Select state',
                     )
           %>
         </TD>
@@ -67,6 +68,7 @@ my %opt = @_;
 my $conf = new FS::Conf;
 my $country = $conf->config('countrydefault') || 'US';
 
+#false laziness w/tr-select-did.html
 #XXX make sure this comes through on errors too
 my $svcpart = $opt{'svcpart'} || $opt{'object'}->svcpart;