added ability to clear history

This commit is contained in:
trashbo4t
2019-04-13 12:46:03 -04:00
parent f12bcf4989
commit bcd558283d
3 changed files with 42 additions and 0 deletions

View File

@@ -38,6 +38,17 @@ registerController("InternetSpeedTestController", ['$api', '$scope','$window','$
});
};
$scope.clearTests = function () {
$api.request({
module: "InternetSpeedTest",
action: "clearTests",
}, function (response) {
});
$window.location.reload()
};
$scope.reloadPage = function () {
$api.request({
module: "InternetSpeedTest",