X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=raid.js;h=8bec240b57e1689932cfe721bf490b2618e3b091;hb=e5ec83fd9811e479948305892e4ada83602eeeb4;hp=ecebcbdb085813f7af37bc0eef802ae5410c2d96;hpb=8bd21c625add06fed135d3ce99208c7a94b44882;p=ndwebbie.git diff --git a/raid.js b/raid.js index ecebcbd..8bec240 100644 --- a/raid.js +++ b/raid.js @@ -129,20 +129,26 @@ function updateClaims(dataSource,xmlthingy,timestamp){ var b = document.createElement("input"); b.type = 'button'; b.value = 'J'; + b.title = 'Make target joinable'; command = 'set&joinable=TRUE'; if (joinable == 1){ b.value = 'N'; + b.title = 'Disable join'; command = 'set&joinable=FALSE'; } b.setAttribute("onclick", "claim('"+dataSource+"',"+target+","+wave+",'"+command+"');"); obj.appendChild(b); } + /*@cc_on obj.innerHTML = obj.innerHTML; // IE doesn't understand unless you tell it twice + @*/ } + /* obj = document.getElementById("coords"+target); var coords = targets[i].getElementsByTagName("coords");; if (obj) obj.innerHTML = coords[0].firstChild.nodeValue; + */ } if (timestamp){ timestamp = xmlthingy.getElementsByTagName("timestamp");