OSDN Git Service

fix </option> bug
authorElixirel <elixirel@users.sourceforge.jp>
Thu, 4 Jun 2009 13:56:21 +0000 (22:56 +0900)
committerElixirel <elixirel@users.sourceforge.jp>
Thu, 4 Jun 2009 13:56:21 +0000 (22:56 +0900)
js/lunardial/feedblog.js

index 9439399..8da0aef 100644 (file)
@@ -194,7 +194,7 @@ function logXMLLoader(){
             var boxBuffer = [];
             boxBuffer.push("<form name='logform'><select name='logbox' style='width: " + extComboWidth + "px' onchange='xmlLoader(this.options[this.selectedIndex].value)'>");
             for (var i = 0; i < separateTag.length; i++) {
-                boxBuffer.push("<option value='" + separateTag[i].getElementsByTagName("path")[0].firstChild.nodeValue + "'/>" + separateTag[i].getElementsByTagName("display")[0].firstChild.nodeValue);
+                boxBuffer.push("<option value='" + separateTag[i].getElementsByTagName("path")[0].firstChild.nodeValue + "'/>" + separateTag[i].getElementsByTagName("display")[0].firstChild.nodeValue + "</option>");
             }
             boxBuffer.push("</select></form>");