Changeset 1743 in genappalpha


Ignore:
Timestamp:
Aug 8, 2021, 10:30:38 AM (2 months ago)
Author:
ehb
Message:

fix for progressbar, tcpmessaging gits to ehb54

Location:
languages/html5
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • languages/html5/add/js/ga.min.js

    r1729 r1743  
    4848ga.admin.ajax.cancel=function(a,b,d,e,h){ga.msg.box({icon:"admin.png",text:"Are you sure you want to cancel this '"+e+"' job belonging to "+a+" ?",buttons:[{id:"yes",label:"Yes, cancel the job",cb:ga.admin.ajax.cancel.cb,adata:[a,b,d,h]},{id:"no",label:"No"}]})};ga.admin.ajax.cancel.cb=function(a,b,d,e){$(".modalDialog").removeClass("modalDialog_on");ga.admin.ajax("jobcancel",a,b,d,e)};
    4949ga.extrahidden=function(a){if(ga.set.data.extrahidden&&ga.set.data.extrahidden[a]){var b=$("#"+a),d,e="";for(d in ga.set.data.extrahidden[a])e+='<input type="hidden" name="'+d+'" value="'+ga.set.data.extrahidden[a][d]+'">';b.append(e);delete ga.set.data.extrahidden[a]}};ga.hhelp={};ga.hhelp.reset=function(){if($("#global_data").data("hoverhelp")||0!=$("#global_data").data("hoverhelp"))$(".help_link").removeClass("help_link_on"),$(".help_link").addClass("help_link_on")};
    50 ga.hhelp.set=function(){$("#global_data").data("hoverhelp")&&0!=$("#global_data").data("hoverhelp")?($(".help_link").addClass("help_link_on"),$("#hoverhelp").html("Help on")):($(".help_link").removeClass("help_link_on"),$("#hoverhelp").html("Help off"))};ga.colors=function(a){ga.colors.background=ga.colors.makeRGB(a.background);ga.colors.text=ga.colors.makeRGB(a.text)};ga.colors.makeRGB=function(a){if(/\d{1,3},\s*\d{1,3},\s*\d{1,3}$/.test(a))return a;a=ga.color.toRGB(a);return a.r+","+a.g+","+a.b};
     50ga.hhelp.set=function(){$("#global_data").data("hoverhelp")&&0!=$("#global_data").data("hoverhelp")?($(".help_link").addClass("help_link_on"),$("#hoverhelp").html("Help on")):($(".help_link").removeClass("help_link_on"),$("#hoverhelp").html("Help off"))};ga.progress=function(a,b,d){$("#"+a+"_progress").html().length||ga.progress.set(a);d&&(b/=d);$("#"+a+"_progress progress").attr({value:b,max:1})};ga.progress.set=function(a,b){b=b?b+":":"";$("#"+a+"_progress").html(b+"<progress></progress>")};
     51ga.progress.clear=function(a,b){$("#"+a+"_progress").empty()};ga.colors=function(a){ga.colors.background=ga.colors.makeRGB(a.background);ga.colors.text=ga.colors.makeRGB(a.text)};ga.colors.makeRGB=function(a){if(/\d{1,3},\s*\d{1,3},\s*\d{1,3}$/.test(a))return a;a=ga.color.toRGB(a);return a.r+","+a.g+","+a.b};
    5152ga.plot_options=function(){var a="rgb( "+ga.colors.text+" )";return{font:{color:a},grid:{hoverable:!1},xaxis:{color:"gray",lineWidth:.5,font:{color:a}},yaxis:{color:"gray",lineWidth:.5,font:{color:a}},lines:{lineWidth:1},zoom:{interactive:!1},pan:{interactive:!1}}};ga.color=function(a){ga.color.data=a;ga.colors(a.body);ga.color.apply()};ga.color.defaults=function(a){ga.browser();ga.color.defaults.data=a;ga.color(a)};
    5253ga.color.toRGB=function(a){if("#"===a.slice(0,1)){var b=parseInt(a.slice(1),16);var d=parseInt(b/256);b-=256*d;a=parseInt(d/256);return{r:a,b:b,g:d-256*a}}(bits=/^rgb\(\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\s*\)$/.exec(a))?(a=parseInt(bits[1]),d=parseInt(bits[2]),b=parseInt(bits[3])):b=d=a=128;return{r:a,b:b,g:d}};
     
    165166ga.data.create_image_htmltocanvas=function(a){if($("#"+a+"_savetofile").length){var b=$("#"+a+"_div");html2canvas(b.get(0),{background:"#ffffff",onrendered:function(d){d='<a href="'+d.toDataURL("image/png").replace("image/png","image/octet-stream")+'" target="_blank" download="plot.png">plot.png</a>';$("#"+a+"_savetofile_link").html(d)}})}};
    166167ga.data.create_image=function(a,b){if($("#"+a+"_savetofile").length){var d=document.getElementById(a+"_savetofile");b=b.getCanvas().toDataURL("image/png").replace("image/png","image/octet-stream");b=ga.data.dataURLtoFile(b,"plot.png");d.href=URL.createObjectURL(b);$("#"+a+"_savetofile").removeClass("hidden")}};
    167 ga.data.update=function(a,b,d,e){var h=0,g=0,m=0,l=0,f=0,p=a+"_output",q="#"+p,n=$(q),w={},x=q+"_msgs",y=$(x),u,A,B,G,D,H,E;d&&($("#"+a+"_progress").empty(),y.text(""));$.each(b,function(v,r){E=n.find("#"+v);if(E.length)switch(h||(y.text(""),h=1),E.attr("type")){case "plot3d":case "plotly":u="#"+v;ga.plot3dglobal=r.layout;ga.dataplot3dglobal=r.data;ga.plotted3d[a]=0;$(u+"_showcollapse").length&&$(u+"_showcollapse").removeClass("hidden");Plotly.newPlot(v,r.data,r.layout);ga.showcollapse3d[a]&&(ga.plotted3d[a]=
    168 1,$(u+"_showcollapse").trigger("click"));B=p+":#"+v+":last_value";$("#global_data").data(B,r);break;case "plot2d":u="#"+v;ga.value.plot2d.zstack.reset(u);if(r.data){if(ga.value.set.plot2d(u,r.options),ga.plotglobal=r.options,ga.dataplotglobal=r.data,$.plot(u,r.data,ga.value.get.plot2d.plot_options(u,r.options)),ga.customtooltips[a]){var I=null;$(u).bind("plothover",function(C,z,F){F?I!=F.dataIndex&&(I=F.dataIndex,$("#rtooltip").remove(),F.datapoint[0].toFixed(2),F.datapoint[1].toFixed(2),F.series.tooltips.length&&
    169 showTooltip(F.pageX,F.pageY,F.series.tooltips[F.dataIndex],F.series.color)):($("#rtooltip").remove(),I=null)})}}else $.plot(u,r,ga.value.get.plot2d.plot_options(u));$(u+"_savetofile").length&&$(u+"_savetofile").removeClass("hidden");$(u+"_changescalex").length&&($(u+"_changescalex").removeClass("hidden"),"log"==r.options.xscale?$(u+"_changescalex_message").html("X-log"):$(u+"_changescalex_message").html("X-lin"));$(u+"_changescaley").length&&($(u+"_changescaley").removeClass("hidden"),"log"==r.options.yscale?
    170 $(u+"_changescaley_message").html("Y-log"):$(u+"_changescaley_message").html("Y-lin"));$(u+"_showcollapse").length&&($(u+"_showcollapse").removeClass("hidden"),$(u).show(),ga.plotted2d[a]=1,$(u+"_showcollapse").trigger("click"));if(ga.value.settings[u].selzoom||r.options&&r.options.selection&&r.options.selection.mode&&"xy"==r.options.selection.mode)$(u).on("plotselected",{htag:u,data:r.data?r.data:r,options:r.data?ga.value.get.plot2d.plot_options(u,r.options):ga.value.get.plot2d.plot_options(u)},
    171 function(C,z){1E-5>z.xaxis.to-z.xaxis.from&&(z.xaxis.to=z.xaxis.from+1E-5);1E-5>z.yaxis.to-z.yaxis.from&&(z.yaxis.to=z.yaxis.from+1E-5);ga.value.plot2d.zstack.dopush(C.data.htag,z);$.plot(C.data.htag,C.data.data,$.extend(!0,{},C.data.options,{xaxis:{min:z.xaxis.from,max:z.xaxis.to},yaxis:{min:z.yaxis.from,max:z.yaxis.to}}))}).on("contextmenu",{htag:u,data:r.data?r.data:r,options:r.data?ga.value.get.plot2d.plot_options(u,r.options):ga.value.get.plot2d.plot_options(u)},function(C){C.preventDefault();
    172 var z=ga.value.plot2d.zstack.dopop(C.data.htag);z?$.plot(C.data.htag,C.data.data,$.extend(!0,{},C.data.options,{xaxis:{min:z.xaxis.from,max:z.xaxis.to},yaxis:{min:z.yaxis.from,max:z.yaxis.to}})):$.plot(C.data.htag,C.data.data,C.data.options)});B=p+":#"+v+":last_value";$("#global_data").data(B,r);break;case "bokeh":ga.bokeh.render(a,v,r);break;case "ngl":ga.value.nglshow(p,v,r);break;case "atomicstructure":B=p+":#"+v+":last_value";H=r.file?r.file:r;_jmol_info[v].script="set background ["+ga.colors.background+
    173 "]; set zoomlarge false;set echo top center;echo loading "+H.split("/").pop()+';refresh;load "'+H+'";';ga.set(a+":jsmoladd")&&(_jmol_info[v].script+=ga.set(a+":jsmoladd"));r.script&&(_jmol_info[v].script+=";"+r.script);$("#global_data").data(B,_jmol_info[v].script);$("#"+v).html(Jmol.getAppletHtml("jmolApplet"+v,_jmol_info[v]));break;case "checkbox":case "radio":E.prop("checked",!0);break;case "div":E.html(r);break;case "video":A=$("#"+v);D="<video ";A.attr("data-width")&&(D+=' width="'+A.attr("data-width")+
    174 '"');A.attr("data-height")&&(D+=' height="'+A.attr("data-height")+'"');D+=" controls>";D+='<source src="'+r+'.mp4" type="video/mp4" /><source src="'+r+'.webm" type="video/webm" />';D+="</video>";A.html(D);break;case "image":A=$("#"+v);D="<img ";A.attr("data-width")&&(D+=' width="'+A.attr("data-width")+'"');A.attr("data-height")&&(D+=' height="'+A.attr("data-height")+'"');D+=' src="'+r+'">';A.html(D);break;case "filelink":G='<a href="'+r+'" target="_blank">'+r.split("/").pop()+"</a>";B=p+":#"+v+":last_value";
    175 $("#global_data").data(B,G);$("#"+v+"_filelink").html(G);break;case "filelinkm":B=p+":#"+v+":last_value";G="";$.each(r,function(C,z){G+='<a href="'+z+'" target="_blank">'+z.split("/").pop()+"</a> "});$("#global_data").data(B,G);$("#"+v+"_filelink").html(G);break;default:$("#global_data").data("_append:"+p+"_"+v)?(E.val(E.val()+"\n"+r),E.height(parseFloat(E.prop("scrollHeight")+parseFloat(E.css("borderTopWidth"))+parseFloat(E.css("borderBottomWidth"))))):E.val(r)}else d?"_"==v.charAt(0)?/^_fs_/.test(v)&&
    176 ga.data.nofcrefresh[a]||("_message"==v&&ga.msg.box(r),"_question"==v&&ga.qr.question(a,b),"_question_answered"==v&&ga.qr.answered(a,b),"_question_timeout"==v&&ga.qr.timeout(a,b),/^_getinput/.test(v)&&"_getinput"==v&&ga.valuen.input(a,r),"_textarea"==v&&ga.data.textarea(q,r),"_airavata"==v&&ga.data.airavata(q,r),"_status"==v&&"complete"==r&&d(e,0,0)):(g||(y.append("<p>Unexpected results:</p>"),g=1),y.append("<p>"+v+" => "+r+"</p>")):"_"==v.charAt(0)?/^_fs_/.test(v)&&ga.data.nofcrefresh[a]||($("#_state").data(v,
    177 r),m=1,"_status"==v&&(w.job_status=r),/^_getinput/.test(v)&&"_getinput"==v&&ga.valuen.input(a,r),"_textarea"==v&&ga.data.textarea(q,r),"_airavata"==v&&ga.data.airavata(q,r),"_loginverify"==v&&ga.login.verify(r),"_loginapprove"==v&&ga.login.approve(r)):"-close"==v?l=1:"-close2"==v?f=1:(g||(y.text(""),y.append("<p>Unexpected results:</p>"),h=g=1),y.append("<p>"+v+" => "+r+"</p>"))});ga.value.saveLastValues(p);ga.value.saveLastValue(p,x);$(q+"_progress").empty();m&&syncState();l&&ga.msg.close(1);f&&
    178 ga.msg.close(2);return w};
     168ga.data.update=function(a,b,d,e){var h=0,g=0,m=0,l=0,f=0,p=a+"_output",q="#"+p,n=$(q),w={},x=q+"_msgs",y=$(x),u,A,B,G,D,H,E;$.each(b,function(v,r){E=n.find("#"+v);if(E.length)switch(h||(y.text(""),h=1),E.attr("type")){case "plot3d":case "plotly":u="#"+v;ga.plot3dglobal=r.layout;ga.dataplot3dglobal=r.data;ga.plotted3d[a]=0;$(u+"_showcollapse").length&&$(u+"_showcollapse").removeClass("hidden");Plotly.newPlot(v,r.data,r.layout);ga.showcollapse3d[a]&&(ga.plotted3d[a]=1,$(u+"_showcollapse").trigger("click"));
     169B=p+":#"+v+":last_value";$("#global_data").data(B,r);break;case "plot2d":u="#"+v;ga.value.plot2d.zstack.reset(u);if(r.data){if(ga.value.set.plot2d(u,r.options),ga.plotglobal=r.options,ga.dataplotglobal=r.data,$.plot(u,r.data,ga.value.get.plot2d.plot_options(u,r.options)),ga.customtooltips[a]){var I=null;$(u).bind("plothover",function(C,z,F){F?I!=F.dataIndex&&(I=F.dataIndex,$("#rtooltip").remove(),F.datapoint[0].toFixed(2),F.datapoint[1].toFixed(2),F.series.tooltips.length&&showTooltip(F.pageX,F.pageY,
     170F.series.tooltips[F.dataIndex],F.series.color)):($("#rtooltip").remove(),I=null)})}}else $.plot(u,r,ga.value.get.plot2d.plot_options(u));$(u+"_savetofile").length&&$(u+"_savetofile").removeClass("hidden");$(u+"_changescalex").length&&($(u+"_changescalex").removeClass("hidden"),"log"==r.options.xscale?$(u+"_changescalex_message").html("X-log"):$(u+"_changescalex_message").html("X-lin"));$(u+"_changescaley").length&&($(u+"_changescaley").removeClass("hidden"),"log"==r.options.yscale?$(u+"_changescaley_message").html("Y-log"):
     171$(u+"_changescaley_message").html("Y-lin"));$(u+"_showcollapse").length&&($(u+"_showcollapse").removeClass("hidden"),$(u).show(),ga.plotted2d[a]=1,$(u+"_showcollapse").trigger("click"));if(ga.value.settings[u].selzoom||r.options&&r.options.selection&&r.options.selection.mode&&"xy"==r.options.selection.mode)$(u).on("plotselected",{htag:u,data:r.data?r.data:r,options:r.data?ga.value.get.plot2d.plot_options(u,r.options):ga.value.get.plot2d.plot_options(u)},function(C,z){1E-5>z.xaxis.to-z.xaxis.from&&
     172(z.xaxis.to=z.xaxis.from+1E-5);1E-5>z.yaxis.to-z.yaxis.from&&(z.yaxis.to=z.yaxis.from+1E-5);ga.value.plot2d.zstack.dopush(C.data.htag,z);$.plot(C.data.htag,C.data.data,$.extend(!0,{},C.data.options,{xaxis:{min:z.xaxis.from,max:z.xaxis.to},yaxis:{min:z.yaxis.from,max:z.yaxis.to}}))}).on("contextmenu",{htag:u,data:r.data?r.data:r,options:r.data?ga.value.get.plot2d.plot_options(u,r.options):ga.value.get.plot2d.plot_options(u)},function(C){C.preventDefault();var z=ga.value.plot2d.zstack.dopop(C.data.htag);
     173z?$.plot(C.data.htag,C.data.data,$.extend(!0,{},C.data.options,{xaxis:{min:z.xaxis.from,max:z.xaxis.to},yaxis:{min:z.yaxis.from,max:z.yaxis.to}})):$.plot(C.data.htag,C.data.data,C.data.options)});B=p+":#"+v+":last_value";$("#global_data").data(B,r);break;case "bokeh":ga.bokeh.render(a,v,r);break;case "ngl":ga.value.nglshow(p,v,r);break;case "atomicstructure":B=p+":#"+v+":last_value";H=r.file?r.file:r;_jmol_info[v].script="set background ["+ga.colors.background+"]; set zoomlarge false;set echo top center;echo loading "+
     174H.split("/").pop()+';refresh;load "'+H+'";';ga.set(a+":jsmoladd")&&(_jmol_info[v].script+=ga.set(a+":jsmoladd"));r.script&&(_jmol_info[v].script+=";"+r.script);$("#global_data").data(B,_jmol_info[v].script);$("#"+v).html(Jmol.getAppletHtml("jmolApplet"+v,_jmol_info[v]));break;case "checkbox":case "radio":E.prop("checked",!0);break;case "div":E.html(r);break;case "video":A=$("#"+v);D="<video ";A.attr("data-width")&&(D+=' width="'+A.attr("data-width")+'"');A.attr("data-height")&&(D+=' height="'+A.attr("data-height")+
     175'"');D+=" controls>";D+='<source src="'+r+'.mp4" type="video/mp4" /><source src="'+r+'.webm" type="video/webm" />';D+="</video>";A.html(D);break;case "image":A=$("#"+v);D="<img ";A.attr("data-width")&&(D+=' width="'+A.attr("data-width")+'"');A.attr("data-height")&&(D+=' height="'+A.attr("data-height")+'"');D+=' src="'+r+'">';A.html(D);break;case "filelink":G='<a href="'+r+'" target="_blank">'+r.split("/").pop()+"</a>";B=p+":#"+v+":last_value";$("#global_data").data(B,G);$("#"+v+"_filelink").html(G);
     176break;case "filelinkm":B=p+":#"+v+":last_value";G="";$.each(r,function(C,z){G+='<a href="'+z+'" target="_blank">'+z.split("/").pop()+"</a> "});$("#global_data").data(B,G);$("#"+v+"_filelink").html(G);break;default:$("#global_data").data("_append:"+p+"_"+v)?(E.val(E.val()+"\n"+r),E.height(parseFloat(E.prop("scrollHeight")+parseFloat(E.css("borderTopWidth"))+parseFloat(E.css("borderBottomWidth"))))):E.val(r)}else d?"_"==v.charAt(0)?/^_fs_/.test(v)&&ga.data.nofcrefresh[a]||("_message"==v&&ga.msg.box(r),
     177"_question"==v&&ga.qr.question(a,b),"_question_answered"==v&&ga.qr.answered(a,b),"_question_timeout"==v&&ga.qr.timeout(a,b),/^_getinput/.test(v)&&"_getinput"==v&&ga.valuen.input(a,r),"_textarea"==v&&ga.data.textarea(q,r),"_airavata"==v&&ga.data.airavata(q,r),"_status"==v&&"complete"==r&&d(e,0,0),"_progress"==v&&ga.progress(a,r)):(g||(y.append("<p>Unexpected results:</p>"),g=1),y.append("<p>"+v+" => "+r+"</p>")):"_"==v.charAt(0)?/^_fs_/.test(v)&&ga.data.nofcrefresh[a]||($("#_state").data(v,r),m=1,
     178"_status"==v&&(w.job_status=r),/^_getinput/.test(v)&&"_getinput"==v&&ga.valuen.input(a,r),"_textarea"==v&&ga.data.textarea(q,r),"_airavata"==v&&ga.data.airavata(q,r),"_loginverify"==v&&ga.login.verify(r),"_loginapprove"==v&&ga.login.approve(r),"_progress"==v&&ga.progress(a,r)):"-close"==v?l=1:"-close2"==v?f=1:(g||(y.text(""),y.append("<p>Unexpected results:</p>"),h=g=1),y.append("<p>"+v+" => "+r+"</p>"))});ga.value.saveLastValues(p);ga.value.saveLastValue(p,x);$(q+"_progress").empty();m&&syncState();
     179l&&ga.msg.close(1);f&&ga.msg.close(2);return w};
    179180ga.data.textarea=function(a,b){var d=a+"_textarea",e=$(d);isatend=e[0].scrollHeight-e[0].scrollTop===e[0].clientHeight;b||(b="");e.is(":hidden")&&(e.show(),$(d+"_label").show());"__reset__\n"==b.substr(0,10)?e.val(b.substr(10)):e.val(e.val()+b);ga.set("textarea:rows")?ga.data.textarea.h[a]?e.height(ga.data.textarea.h[a]):ga.data.textarea.h[a]=parseFloat(e.prop("clientHeight"))+parseFloat(e.css("borderTopWidth"))+parseFloat(e.css("borderBottomWidth")):e.height(parseFloat(e.prop("scrollHeight"))+parseFloat(e.css("borderTopWidth"))+
    180181parseFloat(e.css("borderBottomWidth")));isatend&&e.scrollTop(e[0].scrollHeight)};ga.data.textarea.h={};ga.data.airavata=function(a,b){a=$(a+"_airavata");a.is(":hidden")&&a.show();a.html(b)};
  • languages/html5/js/data.js

    r1726 r1743  
    9898__~debug:getinput{    console.log( "ga.data.update() hmod_out_msgs " + hmod_out_msgs );}
    9999
    100     if ( msging_f ) {
    101 __~debug:data{    console.log( "ga.data.update() msging_f defined" );}
    102         $( "#" + mod + "_progress" ).empty();
    103         jqhmod_out_msgs.text( "" );
    104     }
     100//    if ( msging_f ) {
     101//__~debug:data{    console.log( "ga.data.update() msging_f defined" );}
     102//        $( "#" + mod + "_progress" ).empty();
     103//        jqhmod_out_msgs.text( "" );
     104//    }
    105105
    106106    $.each(data, function(k, v) {
     
    448448                            }
    449449                        }
     450                        if ( k == "_progress" )
     451                        {
     452                            __~debug:progress{console.log( "ga.data.update() _progress is now " + v );}
     453                            ga.progress( mod, v );
     454                        }
    450455                    }
    451456                } else {
     
    494499                            __~debug:loginapprove{console.log( "ga.data.update() approve options found " + v );}
    495500                            ga.login.approve( v );
     501                        }
     502                        if ( k == "_progress" )
     503                        {
     504                            __~debug:progress{console.log( "ga.data.update() _progress is now " + v );}
     505                            ga.progress( mod, v );
    496506                        }
    497507                    }
  • languages/html5/js/ga_global.js

    r1714 r1743  
    935935   }
    936936}
     937
     938ga.progress = function( mod, val, valmax ) {
     939  __~debug:progress{console.log( `ga.progress( ${mod}, ${val}, ${valmax} )` );}
     940  if ( !$(`#${mod}_progress`).html().length ) {
     941     ga.progress.set( mod );
     942  }
     943  __~debug:progress{console.log( 'ga.progress() html is now: ' +  $(`#${mod}_progress`).html() );}
     944
     945  if ( valmax ) {
     946    val = val / valmax;
     947  }
     948
     949  $(`#${mod}_progress progress`).attr({value:val,max:1});
     950}
     951
     952ga.progress.set = function( mod, prefix ) {
     953  __~debug:progress{console.log( `ga.progress.set( ${mod}, ${prefix} )` );}
     954  prefix = prefix ? `${prefix}:` : '';
     955  $(`#${mod}_progress`).html( prefix +  '<progress></progress>' );
     956  __~debug:progress{console.log( 'ga.progress.set() html is now: ' +  $(`#${mod}_progress`).html() );}
     957}
     958
     959ga.progress.clear = function( mod, msg ) {
     960  __~debug:progress{console.log( `ga.progress.clear( ${mod} ) ${msg}` );}
     961  $(`#${mod}_progress`).empty();
     962
     963
     964
     965
  • languages/html5/types/input.footer

    r1721 r1743  
    6161              }
    6262              ga.ws.unsub( id, "__moduleid__" );
     63              ga.progress.clear(  "__moduleid__", "input.footer 4" );
    6364              eval( __moduleid___done_eval );
    6465           } else {
     
    369370__~debug:ajax{           console.log( xhr );}
    370371// refresh cache for this project
    371            $('#__moduleid___progress').html( "" );
    372    
     372           ga.progress.clear( '__moduleid__', 'input.footer 2' );
     373
    373374           var do_refresh = 1;
    374375__~nojobcontrol{           do_refresh = 0;}
     
    392393               }
    393394               ga.ws.unsub( vuuid, "__moduleid__" );
     395               ga.progress.clear(  "__moduleid__", "input.footer 4" );
    394396               eval( __moduleid___done_eval );
    395397           } else {
  • languages/html5/util/build-tcp.sh

    r1372 r1743  
    11#!/bin/sh
    22
     3go get github.com/ehb54/lockfile
     4go get github.com/ehb54/zmq__zmqversion__
    35cd util && go build msg-tcpserver.go
  • languages/html5/util/msg-tcpserver.go

    r1488 r1743  
    22
    33import (
    4         "github.com/fredli74/lockfile"
    5         zmq "github.com/pebbe/zmq__zmqversion__"
     4        "github.com/ehb54/lockfile"
     5        zmq "github.com/ehb54/zmq__zmqversion__"
    66        "encoding/json"
    77        "net"
Note: See TracChangeset for help on using the changeset viewer.