remote control: adapt /EDIT* to new ipc
This commit is contained in:
parent
7b2c543d59
commit
7e8bfc5dbd
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ var callbacks = {
|
|||
if (READ_ONLY) return
|
||||
|
||||
var [id, json] = args,
|
||||
newdata = JSON.parseFlex(json),
|
||||
newdata = typeof json == 'string' ? JSON.parseFlex(json) : json,
|
||||
widgets = widgetManager.getWidgetById(id)
|
||||
|
||||
if (!widgets.length) return
|
||||
|
|
@ -29,7 +29,7 @@ var callbacks = {
|
|||
if (READ_ONLY) return
|
||||
|
||||
var [id, json] = args,
|
||||
newdata = JSON.parseFlex(json),
|
||||
newdata = typeof json == 'string' ? JSON.parseFlex(json) : json,
|
||||
widgets = widgetManager.getWidgetById(id)
|
||||
|
||||
if (!widgets.length) return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue