4.x style
[freeside.git] / httemplate / elements / tr-select-reason.html
index a4e0c03..8174420 100755 (executable)
@@ -16,7 +16,7 @@ Example:
     'control_button' => 'element_name',  #button to be enabled when a reason is
                                          #selected
     'id'             => 'element_id',
-    'hide_add'       => '1',             # setting this will hide the add new reason link,
+    'hide_addnew'    => '1',             # setting this will hide the add new reason link,
                                          # even if the user has access to add a new reason.
     'hide_onload'    => '1',             # setting this will hide reason select box on page load,
                                          # allowing for it do be displayed later.
@@ -43,6 +43,7 @@ Example:
 <& /elements/xmlhttp.html,
   url => $p . 'misc/xmlhttp-reason-hint.html',
   subs => [ 'get_hint' ],
+  skip_empty => 1,
 &>
 <SCRIPT TYPE="text/javascript">
   function <% $id %>_changed() {