diff options
author | Lynx Linden <lynx@lindenlab.com> | 2010-01-14 11:57:03 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2010-01-14 11:57:03 +0000 |
commit | 507ccd52a9d398c76896e38db867716bc2acd7f9 (patch) | |
tree | e305d434d502a7d8363f78b2848010c5dfb28114 /indra/media_plugins | |
parent | f3bd6481a554ade34b133b2ae805838e27598639 (diff) |
EXT-3624: Support "_blank" href target types.
Support href links in web views that have a target attribute set to
"_blank". This will open the link in the user's preferred browser
(internal or external, as defined in Prefs). This change relies on the
new llqtwebkit package that has just been pushed.
Also updated the hardcoded Qt version number in the About floater.
Diffstat (limited to 'indra/media_plugins')
-rw-r--r-- | indra/media_plugins/webkit/media_plugin_webkit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/media_plugins/webkit/media_plugin_webkit.cpp b/indra/media_plugins/webkit/media_plugin_webkit.cpp index a0336f6156..084cdd9561 100644 --- a/indra/media_plugins/webkit/media_plugin_webkit.cpp +++ b/indra/media_plugins/webkit/media_plugin_webkit.cpp @@ -429,6 +429,7 @@ private: LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA_BROWSER, "click_href"); message.setValue("uri", event.getStringValue()); message.setValue("target", event.getStringValue2()); + message.setValueU32("target_type", event.getLinkType()); sendMessage(message); } |