mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
#18099433 createElement로 생성해서 button type가 수정되지 않는 webkit 계열 버그 때문에 innerHtml로 수정. (입력하는 내용은 동일.)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7124 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dbc3ca20b8
commit
69fcd7d1f4
1 changed files with 1 additions and 11 deletions
|
|
@ -4565,17 +4565,7 @@ xe.XE_SCharacter = $.Class({
|
|||
for(var ii=0; ii<len; ii++){
|
||||
aLI[ii] = document.createElement("LI");
|
||||
|
||||
if(this.bIE){
|
||||
button = document.createElement("<BUTTON type='button'>");
|
||||
}else{
|
||||
button = document.createElement("BUTTON");
|
||||
button.type = "button";
|
||||
}
|
||||
span = document.createElement("SPAN");
|
||||
span.innerHTML = unescape(this.charSet[i][ii]);
|
||||
button.appendChild(span);
|
||||
|
||||
aLI[ii].appendChild(button);
|
||||
aLI[ii].innerHTML = '<button type="button"><span>'+unescape(this.charSet[i][ii])+'</span></button>';
|
||||
this.aSCharList[i].appendChild(aLI[ii]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue