Bug 422336 - ""Edit Attribute" > "Namespace URI" is not selected onload" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r=db48x sr=Neil]

This commit is contained in:
reed@reedloden.com 2008-03-24 21:42:11 -07:00
Родитель 8520347457
Коммит 382dfa80b8
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -74,7 +74,6 @@ DomNodeDialog.prototype =
initialize: function initialize()
{
document.title = this.mTitle;
var menuitems = this.menulist.firstChild.childNodes;
var defaultNS = document.getElementById("mi_namespace");
var customNS = document.getElementById("mi_custom");
var accept = document.documentElement.getButton("accept");
@ -86,7 +85,7 @@ DomNodeDialog.prototype =
this.menulist.disabled = !this.enableNamespaces();
defaultNS.value = this.mDoc.documentElement.namespaceURI;
customNS.value = this.mData.namespaceURI;
this.menulist.value = this.mData.namespaceURI;
this.menulist.value = this.mData.namespaceURI || "";
this.toggleNamespace();
},