summaryrefslogtreecommitdiff
path: root/indra/llplugin
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-06-11 17:38:04 +0300
committermaxim_productengine <mnikolenko@productengine.com>2019-06-11 17:38:04 +0300
commitffae378ab14f38d9ce26b6c79105244c30b9507a (patch)
tree7b7294761301095fc1a09c94c42fdcb63b6a07de /indra/llplugin
parent7bce446b28fc7f7f93b2c4927dac2f9da0835264 (diff)
SOCIAL-231 Show tooltips for links and images im media browser
Diffstat (limited to 'indra/llplugin')
-rw-r--r--indra/llplugin/llpluginclassmedia.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp
index cdf2ddde6c..5df64b8e3b 100644
--- a/indra/llplugin/llpluginclassmedia.cpp
+++ b/indra/llplugin/llpluginclassmedia.cpp
@@ -1130,6 +1130,10 @@ void LLPluginClassMedia::receivePluginMessage(const LLPluginMessage &message)
mDebugMessageLevel = message.getValue("message_level");
mediaEvent(LLPluginClassMediaOwner::MEDIA_EVENT_DEBUG_MESSAGE);
}
+ else if (message_name == "tooltip_text")
+ {
+ mHoverText = message.getValue("tooltip");
+ }
else
{
LL_WARNS("Plugin") << "Unknown " << message_name << " class message: " << message_name << LL_ENDL;