зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1098482 - UITour: addNavBarWidget logging references an undefined variable. r=dolske
--HG-- extra : transplant_source : %23%9C%95rJ%E8%02%5Cj%E8%9E%F3%D8%10%BD%CEH%7B%15I
This commit is contained in:
Родитель
5e88160aab
Коммит
32a317d033
|
@ -1303,15 +1303,15 @@ this.UITour = {
|
|||
|
||||
addNavBarWidget: function (aTarget, aMessageManager, aCallbackID) {
|
||||
if (aTarget.node) {
|
||||
log.error("UITour: can't add a widget already present: " + data.target);
|
||||
log.error("addNavBarWidget: can't add a widget already present:", aTarget);
|
||||
return;
|
||||
}
|
||||
if (!aTarget.allowAdd) {
|
||||
log.error("UITour: not allowed to add this widget: " + data.target);
|
||||
log.error("addNavBarWidget: not allowed to add this widget:", aTarget);
|
||||
return;
|
||||
}
|
||||
if (!aTarget.widgetName) {
|
||||
log.error("UITour: can't add a widget without a widgetName property: " + data.target);
|
||||
log.error("addNavBarWidget: can't add a widget without a widgetName property:", aTarget);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче