clear popup notifications on navigate

meow-7.2.2
Richard Linden 2010-09-17 16:06:51 -07:00
parent e0df544a57
commit 57c1845e2d
2 changed files with 2 additions and 1 deletions

View File

@ -29,13 +29,13 @@
#include "llnotificationhandler.h"
#include "llnotifications.h"
#include "llfloatermediabrowser.h"
#include "llfloaterreg.h"
using namespace LLNotificationsUI;
bool LLBrowserNotification::processNotification(const LLSD& notify)
{
// browser notifications are currently handled directly by the LLMediaCtrl instance that spawned them
return false;
}

View File

@ -990,6 +990,7 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event)
case MEDIA_EVENT_NAVIGATE_BEGIN:
{
LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_BEGIN, url is " << self->getNavigateURI() << LL_ENDL;
hideNotification();
};
break;