Commit 32b30314 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(filter) Disable autosubmit of the filter form

Showing with 3 additions and 3 deletions
+3 -3
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<fieldset><legend>{t}Types{/t}</legend> <fieldset><legend>{t}Types{/t}</legend>
{foreach from=$TYPES key="key" item="type"} {foreach from=$TYPES key="key" item="type"}
<label for="{$key}"> <label for="{$key}">
<input type="checkbox" id="{$key}" name="{$key}" value="1" onClick="document.mainform.submit();" <input type="checkbox" id="{$key}" name="{$key}" value="1"
{if ($type.show)}checked="checked"{/if}/> {if ($type.show)}checked="checked"{/if}/>
<img src="{$type.infos.icon|escape}"/> <img src="{$type.infos.icon|escape}"/>
{$type.infos.name|escape} {$type.infos.name|escape}
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
{/foreach} {/foreach}
{if isset($TEMPLATES)} {if isset($TEMPLATES)}
<label for="TEMPLATES"> <label for="TEMPLATES">
<input type="checkbox" id="TEMPLATES" name="TEMPLATES" value="1" onClick="document.mainform.submit();" <input type="checkbox" id="TEMPLATES" name="TEMPLATES" value="1"
{if ($TEMPLATES)}checked="checked"{/if}/> {if ($TEMPLATES)}checked="checked"{/if}/>
<img src="geticon.php?context=devices&amp;icon=template&amp;size=16"/> <img src="geticon.php?context=devices&amp;icon=template&amp;size=16"/>
{t}Template{/t} {t}Template{/t}
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<hr/> <hr/>
<label for="SCOPE"> <label for="SCOPE">
<input type="checkbox" id="SCOPE" name="SCOPE" value="1" onClick="document.mainform.submit();" <input type="checkbox" id="SCOPE" name="SCOPE" value="1"
{if ($SCOPE == 'sub')}checked="checked"{/if}/> {if ($SCOPE == 'sub')}checked="checked"{/if}/>
&nbsp;{t}Search in subtrees{/t} &nbsp;{t}Search in subtrees{/t}
</label> </label>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment