-Wrapping rest api in try catch

-Tuning css for numeric fields
-Clean-up
This commit is contained in:
sergiuToporjinschi
2022-02-05 14:25:26 +02:00
parent d294fa5724
commit aadc8a92c6
8 changed files with 51 additions and 38 deletions
@@ -69,6 +69,11 @@
text-align: left;
}
#tab_plugin_CalibrationTools input.numberDisplay {
text-align: left;
max-width: 65px;
}
/*
@@ -59,7 +59,11 @@ $(function () {
"newYSteps": self.eStepsXYZ.newSteps.Y(),
"newZSteps": self.eStepsXYZ.newSteps.Z()
}).done(function (response) {
new PNotify({
title: "Saved",
text: "X: " + self.eStepsXYZ.newSteps.X() + "steps/mm<br>Y: " + self.eStepsXYZ.newSteps.Y() + "steps/mm<br>Z: " + self.eStepsXYZ.newSteps.Z() + " steps/mm<br> had been set for X/Y/Z axes",
type: "info"
});
}).always(function (response) {
self.saveEStepsXYZActive(true);
})