MCPcopy Create free account
hub / github.com/Milkyroad/SCiPNET / addDot

Function addDot

public/src/js/utils.js:59–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59function addDot() {
60 var dot = 0;
61 var dotTimer = window.setInterval(
62 function() {
63 if ($d.find("#waitingToAdd").next().html() == undefined || $d.find("#waitingToAdd").next().is(":visible") == false) {
64 if (dot < 7) {
65 dot = dot + 1;
66 $d.find("#waitingToAdd").append(".")
67 } else {
68 $d.find("#waitingToAdd").text($d.find("#waitingToAdd").text().slice(0, -7))
69 dot = 0;
70 }
71 } else {
72 clearInterval(dotTimer)
73 $d.find("#waitingToAdd").removeAttr("id", "waitingToAdd")
74 }
75 }, 300);
76}
77
78function foldTable() {
79 $d.find(".collapsible-block-folded").unbind('click').bind('click', function() {

Callers 6

script.jsFile · 0.90
replyFunction · 0.90
accessLoadFunction · 0.90
registerProcessFunction · 0.90
loginProcessFunction · 0.90
loadFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected