This commit is contained in:
@@ -55,6 +55,7 @@ app.rfsettings = (function () {
|
||||
//
|
||||
onTest = function (event) {
|
||||
event.preventDefault();
|
||||
//debugger;
|
||||
var submitData = {
|
||||
creation_date: "2018-06-19T11:08:09.0000000Z", // <-- NEW
|
||||
id: 283832781, // <-- NEW
|
||||
@@ -93,10 +94,11 @@ app.rfsettings = (function () {
|
||||
};
|
||||
app.api.test(submitData, function (res) {
|
||||
if (res.error) {
|
||||
alert("ERROR");
|
||||
$.gevent.publish("app-show-error", res.msg);
|
||||
} else {
|
||||
//do nothing, success!
|
||||
|
||||
alert("SUCCESS!");
|
||||
//$('#key').val(res);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user