dgrammatiko / invalidate-cache

A Joomla module to refresh the mediaversion hash. This effectively invalidates the browsers caches
https://invalidate-cache.dgrammatiko.dev
GNU General Public License v3.0
8 stars 0 forks source link

Error on click invaliatecache Joomla 4.0 RC2 #13

Closed Stuartemk closed 3 years ago

Stuartemk commented 3 years ago

Uncaught (in promise) ReferenceError: error is not defined at HTMLAnchorElement. (default.js?59f7b3bd0de3c11c9bf15ff2a6503399:21)

if (typeof resp !== 'object' || !resp.ok || resp.statusText !== 'OK') {
  renderMessage(error, ['Something blew up!']);
dgrammatiko commented 3 years ago

Fixed: https://github.com/dgrammatiko/invalidate-cache/commit/511d5a7b9990af37f5b1fea2425cb875859de5cb

Will create a new release as well

Stuartemk commented 3 years ago

Fixed: 511d5a7

Will create a new release as well

Thanks !

dgrammatiko commented 3 years ago

As the issue was fixed I'm closing this. Thanks for reporting