Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Reset button #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.4.1
### Enhancements & Features
- Add Reset button to clear browser's localStorage and refresh page
### Bug fixes
- Minor bugfix in localstorage usage for rowCount

## 1.4.0
### Enhancements & Features
- Store sort order, column selection and row count in browser's localStorage
Expand Down
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
fontawesome: 'fa',
banner: '/*! <%= "\\r\\n * " + pkg.title %> v<%= pkg.version %> - <%= grunt.template.today("mm/dd/yyyy") + "\\r\\n" %>' +
banner: '/*!<%= "\\r\\n * " + pkg.title %> v<%= pkg.version %> - <%= grunt.template.today("mm/dd/yyyy") + "\\r\\n" %>' +
' * Copyright © 2014-2015 Rafael J. Staib; Copyright © 2018-<%= grunt.template.today("yyyy") %> <%= pkg.author.name %> <%= (pkg.homepage ? "(" + pkg.homepage + ")" : "") + "\\r\\n" %>' +
' * Licensed under the <%= pkg.license + " license. See LICENSE.txt for more details." + "\\r\\n */\\r\\n" %>',
folders: {
Expand Down Expand Up @@ -55,7 +55,7 @@ module.exports = function (grunt) {
options: {
separator: '\r\n\r\n',
banner: '<%= banner %>;(function ($, window, undefined)\r\n{\r\n /*jshint validthis: true */\r\n "use strict";\r\n\r\n',
footer: '\r\n})(jQuery, window);',
footer: '\r\n})(jQuery, window);\r\n',
process: function (src, filepath) {
var result = src.trim().replace(/(.+?\r\n)/gm, ' $1'),
end = [0, ""],
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The MIT License (MIT)

Copyright © 2014-2015 Rafael J. Staib
Copyright © 2018 Deciso
Copyright © 2018-2023 Deciso

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"accessibility",
"bootstrap"
],
"version": "1.4.0",
"version": "1.4.1",
"authors": [
{
"name": "Rafael Staib",
Expand Down
Binary file removed dist/jquery.bootgrid-1.4.0.zip
Binary file not shown.
Binary file added dist/jquery.bootgrid-1.4.1.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions dist/jquery.bootgrid.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* jQuery Bootgrid v1.4.0 - 12/31/2021
* Copyright © 2014-2015 Rafael J. Staib; Copyright © 2018-2021 Deciso B.V. (http://www.jquery-bootgrid.com)
/*!
* jQuery Bootgrid v1.4.1 - 03/05/2023
* Copyright © 2014-2015 Rafael J. Staib; Copyright © 2018-2023 Deciso B.V. (http://www.jquery-bootgrid.com)
* Licensed under the MIT license. See LICENSE.txt for more details.
*/
.bootgrid-header,
Expand Down
22 changes: 11 additions & 11 deletions dist/jquery.bootgrid.fa.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*!
* jQuery Bootgrid v1.4.0 - 12/31/2021
* Copyright © 2014-2015 Rafael J. Staib; Copyright © 2018-2021 Deciso B.V. (http://www.jquery-bootgrid.com)
/*!
* jQuery Bootgrid v1.4.1 - 03/05/2023
* Copyright © 2014-2015 Rafael J. Staib; Copyright © 2018-2023 Deciso B.V. (http://www.jquery-bootgrid.com)
* Licensed under the MIT license. See LICENSE.txt for more details.
*/
;(function ($, window, undefined)
{
/*jshint validthis: true */
"use strict";

$.extend($.fn.bootgrid.Constructor.defaults.css, {
icon: "icon fa",
iconColumns: "fa-th-list",
iconDown: "fa-sort-desc",
iconRefresh: "fa-refresh",
iconSearch: "fa-search",
iconUp: "fa-sort-asc"
$.extend($.fn.bootgrid.Constructor.defaults.css, {
icon: "icon fa",
iconColumns: "fa-th-list",
iconDown: "fa-sort-desc",
iconRefresh: "fa-refresh",
iconSearch: "fa-search",
iconUp: "fa-sort-asc"
});
})(jQuery, window);
})(jQuery, window);
Loading