backport, bug fix, auto submit in konqueror and safari
authorPascal Corpet <pascal.corpet@m4x.org>
Thu, 14 Jul 2005 16:48:29 +0000 (16:48 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:29:28 +0000 (23:29 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.7--patch-13
   bug fix : auto submit for safari and Konqueror

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-762

templates/antispam.tpl

index 922c3ca..852acc6 100644 (file)
@@ -46,11 +46,11 @@ Trois r
     <tr>
       <td>
         <strong>Choisis ton propre réglage :</strong><br />
-                <input type='radio' name='statut_filtre' value='0' {if $filtre eq 0}checked="checked"{/if} onchange='submit()' />
+                <input type='radio' name='statut_filtre' value='0' {if $filtre eq 0}checked="checked"{/if} onchange='this.form.submit()' />
         (1) le filtre anti-spam est coupé<br />
-        <input type='radio' name='statut_filtre' value='1' {if $filtre eq 1}checked="checked"{/if} onchange='submit()' />
+        <input type='radio' name='statut_filtre' value='1' {if $filtre eq 1}checked="checked"{/if} onchange='this.form.submit()' />
         (2) le filtre anti-spam est activé, et marque les mails<br />
-        <input type='radio' name='statut_filtre' value='2' {if $filtre eq 2}checked="checked"{/if} onchange='submit()' />
+        <input type='radio' name='statut_filtre' value='2' {if $filtre eq 2}checked="checked"{/if} onchange='this.form.submit()' />
         (3) le filtre anti-spam est activé, et élimine les mails détectés comme spams<br />
               </td>
     </tr>