Fix: Don't reload page when disabling access control in first run dialog

Cache clearing doesn't work reliably with location.reload(true), leading to cache induced infinite loop when disabling access control (since generated template still assumes first run dialog to be active). Disabling for now, need to find a better way to reload the page while clearing the browser's and server's cache (same issue exists for plugins needing a client side triggered reload).

Fixes #886
This commit is contained in:
Gina Häußge 2015-05-10 00:54:44 +02:00
parent 5fa30e4145
commit 9568806219

View file

@ -46,7 +46,7 @@ $(function() {
};
self._sendData(data, function() {
// if the user indeed disables access control, we'll need to reload the page for this to take effect
location.reload();
//location.reload(true); // TODO: clear cache doesn't work properly, needs a better way, same issue with reloading plugins
});
});
$("#confirmation_dialog").modal("show");