svghmi/widget_jsontable.ysl2
branchsvghmi
changeset 3150 5a1bb6ec48a0
parent 3149 d32e6246cd59
child 3181 50d0fef791d5
--- a/svghmi/widget_jsontable.ysl2	Thu Feb 18 05:39:46 2021 +0100
+++ b/svghmi/widget_jsontable.ysl2	Thu Feb 18 10:43:10 2021 +0100
@@ -61,11 +61,9 @@
 
             if(!this.promised){
                 this.promised = true;
-                Promise.resolve().then(() => {
-                    return this.do_http_request().finally(() => {
-                        this.promised = false;
-                    });
-                })
+                this.do_http_request().finally(() => {
+                    this.promised = false;
+                });
             }
         }
         make_on_click(...options){