Code

Updated samba tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Jan 2009 13:43:27 +0000 (13:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Jan 2009 13:43:27 +0000 (13:43 +0000)
-Added mainform.submit()

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13350 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/samba/personal/samba/samba3.tpl

index 9e158dd90d2c24184306a5de90c4ab5e3fa5c27b..3561a208341d8e49a36ef1e1d33f89d6cae46e51 100644 (file)
     <tr>
      <td>
       {render acl=$sambaPwdMustChangeACL  checkbox=$multiple_support checked=$use_password_expires}
-      <input id="password_expires" type=checkbox name="password_expires" value="1" {$flagsC} class="center">
+      <input id="password_expires" type=checkbox name="password_expires" value="1" {$flagsC} class="center"
+               onClick="document.mainform.submit();">
       {/render}
       <label for="password_expires">{t}Password expires on{/t}</label>
      </td>
      <td>
       {render acl=$sambaPwdMustChangeACL}
-      <select name=day onChange="createResult(this.form,this.form.sambaPwdMustChange);">
+      <select name=day onChange="createResult(this.form,this.form.sambaPwdMustChange); document.mainform.submit();">
        {html_options values=$days output=$days selected=$day}
       </select>
       {/render}
       {render acl=$sambaPwdMustChangeACL}
-      <select name=month onChange="populate(this.form,this.form.sambaPwdMustChange);">
+      <select name=month onChange="populate(this.form,this.form.sambaPwdMustChange); document.mainform.submit();">
        {html_options options=$months selected=$month}
       </select>
       {/render}
       {render acl=$sambaPwdMustChangeACL}
-      <select name=year onChange="populate(this.form,this.form.sambaPwdMustChange);">
+      <select name=year onChange="populate(this.form,this.form.sambaPwdMustChange); document.mainform.submit();">
        {html_options values=$years output=$years selected=$year}
       </select>
       {/render}