Bustage fix for Mochitest-3 (bug 591026) a=shutupstupidhook

This commit is contained in:
Gavin Sharp 2010-08-27 23:02:18 -04:00
parent 18bfa9d172
commit f2f89b964c

View File

@ -85,7 +85,7 @@ function clickNotificationButton(aButtonIndex) {
var chromeWin = getChromeWindow();
if (chromeWin.PopupNotifications) {
var panel = chromeWin.PopupNotifications.panel;
var notificationEl = panel.getElementsByAttribute("id", "geolocation")[0];
var notificationEl = panel.getElementsByAttribute("id", "geolocation-notification")[0];
if (aButtonIndex == kAcceptButton)
notificationEl.button.doCommand();
else if (aButtonIndex == kDenyButton)