From c9e8a2b76c04ed0686187e3c96dc8722ada37a65 Mon Sep 17 00:00:00 2001 From: James Leach Date: Tue, 12 Feb 2019 07:18:39 -0600 Subject: [PATCH] Unable to test currently but this should resolve the issue. --- octoprint_klipper/static/js/klipper_param_macro.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/octoprint_klipper/static/js/klipper_param_macro.js b/octoprint_klipper/static/js/klipper_param_macro.js index db55554..fc305be 100644 --- a/octoprint_klipper/static/js/klipper_param_macro.js +++ b/octoprint_klipper/static/js/klipper_param_macro.js @@ -65,8 +65,7 @@ $(function() { expanded = "[\"" + expanded + "\"]" expanded = expanded.replace(/(?:\r\n|\r|\n)/g, "\",\""); -// OctoPrint.control.sendGcode(expanded); - OctoPrint.control.sendGcode(["G28","G28"]) + OctoPrint.control.sendGcode(expanded); } }