diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-29 13:34:27 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-29 13:34:27 +0200 |
commit | 482caa04f951c02a9a66f1f6866b79ad4edd5b29 (patch) | |
tree | d8d7c8233b35f08b947b1367c3808fbca2fb123f /apps/calendar/js | |
parent | a56f2dbce71d4afba530ff735ed04a0f5acc21be (diff) | |
download | nextcloud-server-482caa04f951c02a9a66f1f6866b79ad4edd5b29.tar.gz nextcloud-server-482caa04f951c02a9a66f1f6866b79ad4edd5b29.zip |
add button to clear calendar's cache
Diffstat (limited to 'apps/calendar/js')
-rw-r--r-- | apps/calendar/js/settings.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/calendar/js/settings.js b/apps/calendar/js/settings.js index c768a47a797..f42e024d083 100644 --- a/apps/calendar/js/settings.js +++ b/apps/calendar/js/settings.js @@ -44,4 +44,7 @@ $(document).ready(function(){ $('#' + jsondata.firstday).attr('selected',true); $('#firstday').chosen(); }); + $('#cleancalendarcache').click(function(){ + $.getJSON(OC.filePath('calendar', 'ajax/cache', 'rescan.php')); + }); }); |