mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-22 05:30:05 +00:00
added more proper initial check handling
This commit is contained in:
parent
1c2cf41e97
commit
171177b606
@ -375,11 +375,6 @@ function loadCacheList() {
|
|||||||
storageLoadingComplete(cacheSizes);
|
storageLoadingComplete(cacheSizes);
|
||||||
}
|
}
|
||||||
|
|
||||||
function startHashCheck() {
|
|
||||||
// only run once
|
|
||||||
if (!cacheSizes) handleCache("hash-check");
|
|
||||||
}
|
|
||||||
|
|
||||||
function getCacheElemID(versionString, cacheMode, elementName) {
|
function getCacheElemID(versionString, cacheMode, elementName) {
|
||||||
return [versionString, cacheMode, "cache", elementName].filter(function (value) {
|
return [versionString, cacheMode, "cache", elementName].filter(function (value) {
|
||||||
return typeof value !== "undefined";
|
return typeof value !== "undefined";
|
||||||
@ -899,3 +894,7 @@ $("#of-deleteversionmodal").on("show.bs.modal", function (e) {
|
|||||||
})[0];
|
})[0];
|
||||||
$("#deleteversion-versionname").html(result.name);
|
$("#deleteversion-versionname").html(result.name);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#of-editcacheconfigmodal").on("show.bs.modal", function (e) {
|
||||||
|
if (!cacheSizes) handleCache("hash-check");
|
||||||
|
});
|
||||||
|
@ -117,7 +117,6 @@
|
|||||||
type="button"
|
type="button"
|
||||||
title="Edit Game Builds"
|
title="Edit Game Builds"
|
||||||
data-target="#of-editcacheconfigmodal"
|
data-target="#of-editcacheconfigmodal"
|
||||||
onclick="startHashCheck()"
|
|
||||||
>
|
>
|
||||||
<i class="fas fa-database"></i>
|
<i class="fas fa-database"></i>
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user