|
|
@ -137,7 +137,7 @@ thrimbletrimmerSubmit = function(state) {
|
|
|
|
alert(error);
|
|
|
|
alert(error);
|
|
|
|
document.getElementById('SubmitButton').disabled = false;
|
|
|
|
document.getElementById('SubmitButton').disabled = false;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
setTimeout(() => window.location.href = '/thrimbletrimmer/dashboard.html'; }, 500);
|
|
|
|
setTimeout(() => { window.location.href = '/thrimbletrimmer/dashboard.html'; }, 500);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -184,7 +184,7 @@ thrimbletrimmerManualLink = function() {
|
|
|
|
document.getElementById("ManualButton").disabled = false;
|
|
|
|
document.getElementById("ManualButton").disabled = false;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
alert("Manual link set to " + body.link);
|
|
|
|
alert("Manual link set to " + body.link);
|
|
|
|
setTimeout(() => window.location.href = '/thrimbletrimmer/dashboard.html'; }, 500);
|
|
|
|
setTimeout(() => { window.location.href = '/thrimbletrimmer/dashboard.html'; }, 500);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -221,7 +221,7 @@ thrimbletrimmerResetLink = function() {
|
|
|
|
document.getElementById("ResetButton").disabled = false;
|
|
|
|
document.getElementById("ResetButton").disabled = false;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
alert("Row has been reset. Reloading...");
|
|
|
|
alert("Row has been reset. Reloading...");
|
|
|
|
setTimeout(() => window.location.reload(); }, 500);
|
|
|
|
setTimeout(() => { window.location.reload(); }, 500);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
};
|
|
|
|
};
|
|
|
|