test client: use 'gcode_move' in place of 'gcode'
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
2848b4e9c1
commit
8b02797ede
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue