test client: use 'gcode_move' in place of 'gcode'

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2020-08-17 19:56:42 -04:00
parent 2848b4e9c1
commit 8b02797ede
1 changed files with 3 additions and 3 deletions

View File

@ -280,7 +280,7 @@ function get_klippy_info() {
// If autosubscribe is check, request the subscription now
const sub = {
objects: {
gcode: ["gcode_position", "speed", "speed_factor", "extrude_factor"],
gcode_move: ["gcode_position", "speed", "speed_factor", "extrude_factor"],
idle_timeout: null,
pause_resume: null,
toolhead: null,
@ -1151,7 +1151,7 @@ window.onload = () => {
// Post Subscription Request
$('#btnsubscribe').click(() => {
if (api_type == 'http') {
let url = api.object_subscription.url + "?gcode=gcode_position,speed,speed_factor,extrude_factor" +
let url = api.object_subscription.url + "?gcode_move=gcode_position,speed,speed_factor,extrude_factor" +
"&toolhead&virtual_sdcard&heater_bed&extruder=temperature,target&fan&idle_timeout&pause_resume" +
"&print_stats";
let settings = {url: url};
@ -1163,7 +1163,7 @@ window.onload = () => {
} else {
const sub = {
objects: {
gcode: ["gcode_position", "speed", "speed_factor", "extrude_factor"],
gcode_move: ["gcode_position", "speed", "speed_factor", "extrude_factor"],
idle_timeout: null,
pause_resume: null,
toolhead: null,