automatay update feature

This commit is contained in:
2021-01-19 14:27:28 +07:00
parent 8cb9cd30bc
commit 74135e96de
4 changed files with 42 additions and 4 deletions

View File

@@ -616,4 +616,18 @@ function getTotalFeature() {
error: function (jqXHR, textStatus, errorThrown) {
}
});
}
function reGenFeature(e) {
$.ajax({
url: $(e).attr("href"),
type: 'POST',
success: function (data) {
// window.location.reload(true);
$("#updating-label").removeClass("hidden");
$(e).addClass("hidden");
},
error: function (jqXHR, textStatus, errorThrown) {
}
});
}