Remove "required" attribute and related js code from search field

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12499 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2013-01-02 04:59:30 +00:00
parent 4cc9396a90
commit 8655fd5fff
9 changed files with 11 additions and 7 deletions

View file

@ -100,7 +100,7 @@ xe.lang.confirm_poll_delete = '{$lang->confirm_poll_delete}';
<select name="search_target" title="{$lang->search_target}" style="margin-right:4px">
<option loop="$lang->search_poll_target_list => $key, $val" value="{$key}" selected="selected"|cond="$search_target==$key">{$val}</option>
</select>
<input type="search" name="search_keyword" required value="{htmlspecialchars($search_keyword)}" />
<input type="search" name="search_keyword" value="{htmlspecialchars($search_keyword)}" />
<button class="x_btn x_btn-inverse" type="submit">{$lang->cmd_search}</button>
<a class="x_btn" href="{getUrl('','module',$module,'act',$act)}">{$lang->cmd_cancel}</a>
</form>