Skip to content

Commit

Permalink
Merge pull request g200kg#10 from splisp/master
Browse files Browse the repository at this point in the history
UI improvements in Rename Patch
  • Loading branch information
g200kg authored Jan 28, 2020
2 parents 3f096d2 + 8fffd04 commit 9019a95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3447,14 +3447,15 @@
};
}
function PopupPatchRename(){
document.getElementById("inputtext").value="";
document.getElementById("inputtext").value=patches[currentpatch].name;
var tar=document.getElementById((currentpatch+1)+"nam");
document.getElementById("inputmsg").innerHTML="Rename Patch";
var rc=tar.getBoundingClientRect();
document.getElementById("inputbase").style.display="block";
var panel=document.getElementById("inputpanel");
panel.style.left=(rc.left-80+window.pageXOffset)+"px";
panel.style.top=(rc.top+20+window.pageYOffset)+"px";
document.getElementById("inputtext").focus();
PopupPatchCancel2();
document.getElementById("inputok").onclick=function(ev){
var i;
Expand Down

0 comments on commit 9019a95

Please sign in to comment.