#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:
misol 2010-01-05 11:30:31 +00:00
parent dbc3ca20b8
commit 69fcd7d1f4

View file

@ -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]);
}