mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 11:27:49 +00:00
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:
parent
8520347457
commit
382dfa80b8
@ -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();
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user