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