Skip to content
Snippets Groups Projects
Commit 57c1845e authored by Richard Linden's avatar Richard Linden
Browse files

clear popup notifications on navigate

parent e0df544a
No related branches found
No related tags found
No related merge requests found
...@@ -29,13 +29,13 @@ ...@@ -29,13 +29,13 @@
#include "llnotificationhandler.h" #include "llnotificationhandler.h"
#include "llnotifications.h" #include "llnotifications.h"
#include "llfloatermediabrowser.h"
#include "llfloaterreg.h" #include "llfloaterreg.h"
using namespace LLNotificationsUI; using namespace LLNotificationsUI;
bool LLBrowserNotification::processNotification(const LLSD& notify) bool LLBrowserNotification::processNotification(const LLSD& notify)
{ {
// browser notifications are currently handled directly by the LLMediaCtrl instance that spawned them // browser notifications are currently handled directly by the LLMediaCtrl instance that spawned them
return false; return false;
} }
...@@ -990,6 +990,7 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) ...@@ -990,6 +990,7 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event)
case MEDIA_EVENT_NAVIGATE_BEGIN: case MEDIA_EVENT_NAVIGATE_BEGIN:
{ {
LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_BEGIN, url is " << self->getNavigateURI() << LL_ENDL; LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_BEGIN, url is " << self->getNavigateURI() << LL_ENDL;
hideNotification();
}; };
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment