mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-11-13 00:06:30 +00:00
Clear search value when Clear button is pressed
This commit is contained in:
parent
66f238e1c4
commit
efe415d633
@ -52,7 +52,7 @@ $listDirn = $this->escape($this->state->get('list.direction'));
|
||||
placeholder="<?php echo Text::_('COM_WEBLINKS_FILTER_SEARCH_DESC'); ?>"
|
||||
>
|
||||
<button type="submit" name="filter_submit" class="btn btn-primary"><?php echo Text::_('JGLOBAL_FILTER_BUTTON'); ?></button>
|
||||
<button type="reset" name="filter-clear-button" class="btn btn-secondary"><?php echo Text::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
<button type="reset" name="filter-clear-button" class="btn btn-secondary" onclick="document.getElementById('filter-search').value = '';document.adminForm.submit();"><?php echo Text::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->params->get('show_pagination_limit')) : ?>
|
||||
|
Loading…
Reference in New Issue
Block a user