svghmi/widget_jsontable.ysl2
branchsvghmi
changeset 3150 5a1bb6ec48a0
parent 3149 d32e6246cd59
child 3181 50d0fef791d5
equal deleted inserted replaced
3149:d32e6246cd59 3150:5a1bb6ec48a0
    59             else
    59             else
    60                 return;
    60                 return;
    61 
    61 
    62             if(!this.promised){
    62             if(!this.promised){
    63                 this.promised = true;
    63                 this.promised = true;
    64                 Promise.resolve().then(() => {
    64                 this.do_http_request().finally(() => {
    65                     return this.do_http_request().finally(() => {
    65                     this.promised = false;
    66                         this.promised = false;
    66                 });
    67                     });
       
    68                 })
       
    69             }
    67             }
    70         }
    68         }
    71         make_on_click(...options){
    69         make_on_click(...options){
    72             let that = this;
    70             let that = this;
    73             return function(evt){
    71             return function(evt){