mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
added ability to clear history
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user