зеркало из https://github.com/mozilla/pjs.git
Fix for 173444, custom toolbars show up (incorrectly) in popup windows.
This commit is contained in:
Родитель
317d462e18
Коммит
6f53a8f60e
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче