clear popup notifications on navigate
parent
e0df544a57
commit
57c1845e2d
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue