diff --git a/HTML/res/cron.js b/HTML/res/cron.js index dbb3738..eeaa0fe 100644 --- a/HTML/res/cron.js +++ b/HTML/res/cron.js @@ -175,6 +175,10 @@ function setcron(n) { content += ("
"); + var mainbut = document.getElementById("setcronbut"+n); + mainbut.innerHTML = "Close editor"; + mainbut.onclick = function (){ var target = document.getElementById("cronext"+n); + target.innerHTML = ""; mainbut.innerHTML = "Open editor"; mainbut.onclick = function(){setcron(n)};} target.innerHTML = content; } function drawtimers(tarr) { @@ -189,7 +193,7 @@ function drawtimers(tarr) { content += ("