Skip to content

Commit

Permalink
Add Glitter Felt
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef-MrBeam committed Nov 23, 2023
1 parent 4bf2e87 commit 9acfba7
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ $(function () {
"_setReadyToLaserCancel() notifyServer: ",
notifyServer
);
self.hideDialog();
self.dialogElement.modal("hide");
if (notifyServer) {
self._sendCancelReadyToLaserMode();
}
Expand All @@ -289,7 +289,7 @@ $(function () {
if (self.show_dialog()) {
self.showDialog();
} else if (!self.show_dialog()) {
self.hideDialog();
self.dialogElement.modal("hide");
} else {
self._debugDaShit("setDialog() nothing to do");
}
Expand All @@ -312,12 +312,6 @@ $(function () {
self.dialogElement.modal(param);
};

self.hideDialog = function (force) {
self._debugDaShit("hideDialog() " + (force ? "force!" : ""));
self._debugDaShit("hideDialog() hide");
self.dialogElement.modal("hide");
};

self.refreshBindings = function () {
ko.cleanNode(document.getElementById("ready_to_laser_dialog"));
ko.applyBindings(
Expand Down

0 comments on commit 9acfba7

Please sign in to comment.