fixed reset filter button
This commit is contained in:
parent
9bc076878b
commit
82b46b2f7c
@ -27,7 +27,7 @@ Title="Nerd Pack"
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<input onclick="packageQuery(1)" value="Check for Updates" type="button"><button class="reset" type="button" title="reset filters">Reset Filters</button>
|
||||
<input onclick="packageQuery(1)" value="Check for Updates" type="button"><input class="reset" type="button" title="reset filters" value="Reset Filters">
|
||||
: <input id="btnApply" type="button" value="Apply"><input type="button" value="Done" onClick="done()">
|
||||
<input type="hidden" name="#file" value="NerdPack/NerdPack.cfg">
|
||||
</form>
|
||||
@ -35,4 +35,4 @@ Title="Nerd Pack"
|
||||
<script type="text/javascript" src="/plugins/tablesorter/js/jquery.tablesorter.combined.min.js"></script>
|
||||
<script type="text/javascript" src="/plugins/tablesorter/js/parsers/parser-metric.min.js"></script>
|
||||
<script type="text/javascript" src="/webGui/javascript/jquery.switchbutton.js"></script>
|
||||
<script type="text/javascript" src="/plugins/NerdPack/js/jquery.NerdPack.js"></script>
|
||||
<script type="text/javascript" src="/plugins/NerdPack/js/jquery.NerdPack.js"></script>
|
||||
|
@ -1,14 +1,14 @@
|
||||
$(function(){
|
||||
// tablesorter options
|
||||
$("#tblPackages").tablesorter({
|
||||
sortList: [[0,1]],
|
||||
sortList: [[0,0]],
|
||||
widgets: ["saveSort", "filter", "stickyHeaders"],
|
||||
widgetOptions: {
|
||||
stickyHeaders_filteredToTop: true,
|
||||
filter_hideEmpty: true,
|
||||
filter_liveSearch: true,
|
||||
filter_saveFilters: true,
|
||||
filter_reset: "button.reset",
|
||||
filter_reset: ".reset",
|
||||
filter_functions: {
|
||||
".filter-version": true,
|
||||
".filter-downloaded": true,
|
||||
@ -137,4 +137,4 @@ function checkDepends() {
|
||||
$("#python").switchButton({checked: true});
|
||||
$("#python", ".pkgvalue").val("yes");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user