fix for missing widget reload
This commit is contained in:
parent
d8c0283ee4
commit
25e198ec5f
1 changed files with 3 additions and 3 deletions
|
|
@ -1790,11 +1790,11 @@
|
||||||
// load any widget by name that was saved to the workspace
|
// load any widget by name that was saved to the workspace
|
||||||
toload.forEach(function(widgetid) {
|
toload.forEach(function(widgetid) {
|
||||||
Widget.loadFromState(widgetid, function(widget) {
|
Widget.loadFromState(widgetid, function(widget) {
|
||||||
let ann = API.widgets.annotate(widget.id);
|
|
||||||
widget.meta.file = ann.file;
|
|
||||||
widget.meta.url = ann.url;
|
|
||||||
if (widget) {
|
if (widget) {
|
||||||
platform.add(widget, 0, position);
|
platform.add(widget, 0, position);
|
||||||
|
let ann = API.widgets.annotate(widgetid);
|
||||||
|
widget.meta.file = ann.file;
|
||||||
|
widget.meta.url = ann.url;
|
||||||
}
|
}
|
||||||
if (++loaded === toload.length) {
|
if (++loaded === toload.length) {
|
||||||
platform.deselect();
|
platform.deselect();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue