From cdd0a4c1cbb2e4370e0a0281eb0bc4512daf9168 Mon Sep 17 00:00:00 2001 From: Neil Graham Date: Wed, 29 Nov 2023 02:01:54 +1300 Subject: [PATCH] bugfix in serialization --- web/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/main.js b/web/main.js index 600580f..d5250a3 100644 --- a/web/main.js +++ b/web/main.js @@ -198,7 +198,7 @@ function addCanvasWidget(node,name,inputData,app) { name, size: [128,128], image: null, - sendBlobRequired : false, + sendBlobRequired : true, uploadedBlobName : "", _blob: null, background :"#8888", @@ -256,7 +256,8 @@ function addCanvasWidget(node,name,inputData,app) { widget.sendBlobRequired=false; } } - return ""; + console.log(widget) + return widget.uploadedBlobName; } } node.addCustomWidget(widget);