Add webhook for semi-automatic shareit order notification processing

This commit is contained in:
2022-08-28 22:45:12 +00:00
parent c9adfbb656
commit 4e5095d46c
4 changed files with 126 additions and 1 deletions

View File

@@ -13,7 +13,8 @@ app.rfsettings = (function() {
var stateMap = {},
configModule,
onChangePassword,
initModule;
initModule,
onTest;
//----------------- END MODULE SCOPE VARIABLES ---------------
//------------------- BEGIN UTILITY METHODS ------------------
@@ -48,6 +49,17 @@ app.rfsettings = (function() {
return false; //prevent default?
};
///////////////////////////////
//ONTEST
//
onTest = function(event) {
event.preventDefault();
return false; //prevent default?
};
//-------------------- END EVENT HANDLERS --------------------
//------------------- BEGIN PUBLIC METHODS -------------------
@@ -70,6 +82,7 @@ app.rfsettings = (function() {
// bind actions
$("#btn-change-password").bind("click", onChangePassword);
$("#btn-test").bind("click", onTest);
//Context menu
app.nav.contextClear();

View File

@@ -10,6 +10,10 @@
<div class="app-frm-buttons mt-5">
<button id="btn-change-password">Update</button>
</div>
<div class="app-frm-buttons mt-5">
<button id="btn-test" class="btn btn-warning">TEST THAT THING</button>
</div>
</div>
</form>
</div>