Bug 393581 - "toolbar resizer visible in popups with only visible location bar" [p=florian r=gavin a=blocking-firefox3+]

This commit is contained in:
reed@reedloden.com 2007-11-13 02:45:38 -08:00
parent f79a9b57ed
commit 611647d42a

View File

@ -216,23 +216,26 @@
"toolbarseparator");
uniqueId = (new Date()).getTime()+this.childNodes.length;
newItem.id = "separator" + uniqueId;
newItem.className = "chromeclass-toolbar-additional";
} else if (aId == "spring") {
newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
"toolbarspring");
uniqueId = (new Date()).getTime()+this.childNodes.length;
newItem.flex = 1;
newItem.id = "spring" + uniqueId;
newItem.className = "chromeclass-toolbar-additional";
} else if (aId == "spacer") {
newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
"toolbarspacer");
uniqueId = (new Date()).getTime()+this.childNodes.length;
newItem.id = "spacer" + uniqueId;
newItem.className = "chromeclass-toolbar-additional";
} else if (aId == "splitter") {
newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
"splitter");
uniqueId = (new Date()).getTime()+this.childNodes.length;
newItem.id = "splitter" + uniqueId;
newItem.className = "toolbar-splitter";
newItem.className = "toolbar-splitter chromeclass-toolbar-additional";
} else if (this.parentNode.localName == "toolbox") {
// Attempt to locate an item with a matching id within palette.
var paletteItem = this.parentNode.palette.firstChild;