Add an option to disable the automatic check for updates. Enabled by default. Grav updates still show up when pressing the 'Check for updates' button

This commit is contained in:
Flavio Copes
2015-09-09 17:33:19 +02:00
parent 8f7cc87773
commit d263dc12e8
4 changed files with 22 additions and 6 deletions

View File

@@ -402,7 +402,9 @@ $(function () {
});
};
GPMRefresh();
if (GravAdmin.config.enable_auto_updates_check === '1') {
GPMRefresh();
}
function reIndex (collection) {
var holder = collection.find('[data-collection-holder]'),