mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Fix for 173444, custom toolbars show up (incorrectly) in popup windows.
This commit is contained in:
parent
2edd248d3b
commit
89819f854f
@ -529,7 +529,7 @@ function addNewToolbar()
|
||||
// if a conflict is found
|
||||
var nameToId = "__customToolbar_" + name.value.replace(" ", "");
|
||||
var existingToolbar = gToolboxDocument.getElementById(nameToId);
|
||||
if (existingToolbar) {
|
||||
if (existingToolbar || !name.value) {
|
||||
message = stringBundle.getFormattedString("enterToolbarDup", [name.value]);
|
||||
} else {
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user