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:
parent
5fa30e4145
commit
9568806219
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue