From b79f6693516da89c47b107ebf57a0c284eef5018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 8 Feb 2018 12:28:10 +0100 Subject: [PATCH] Fix "copy all" on Terminal tab Closes #2392 --- src/octoprint/static/js/app/viewmodels/terminal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/static/js/app/viewmodels/terminal.js b/src/octoprint/static/js/app/viewmodels/terminal.js index 0140e6e15..f5125f2d6 100644 --- a/src/octoprint/static/js/app/viewmodels/terminal.js +++ b/src/octoprint/static/js/app/viewmodels/terminal.js @@ -306,7 +306,7 @@ $(function() { }; self.copyAll = function() { - copyToClipboard(self.plainLogLines().join("\n")); + copyToClipboard(_.map(self.log(), "line").join("\n")); }; // command matching regex