Skip to content

Commit

Permalink
Fix #658 clearing all cache
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviocopes committed Jun 20, 2016
1 parent c94e3ba commit 88f3b81
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 27 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Fix for 'front-end' shortcut showing in mobile sidebar incorrectly.
* Append progressive number to the copied page title. [#394](https://github.com/getgrav/grav-plugin-admin/issues/394)
* Add field description to forms [#667](https://github.com/getgrav/grav-plugin-admin/pull/667)
* Fix clearing all cache [#658](https://github.com/getgrav/grav-plugin-admin/issues/658)

# v1.1.0-rc.3
## 06/14/2016
Expand Down
2 changes: 1 addition & 1 deletion themes/grav/app/dashboard/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class Cache {

element = element ? $(element) : $(`[data-clear-cache-type="${type}"]`);
type = type || $(element).data('clear-cache-type') || '';
let url = element.data('clearCache') || getUrl(event);
let url = element.data('clearCache') || getUrl(type);

this.disable();

Expand Down
22 changes: 11 additions & 11 deletions themes/grav/js/admin.min.js

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions themes/grav/js/vendor.min.js

Large diffs are not rendered by default.

0 comments on commit 88f3b81

Please sign in to comment.