summaryrefslogtreecommitdiff
path: root/indra/media_plugins/cef
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2018-02-12 19:27:09 +0000
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2018-02-12 19:27:09 +0000
commit2714ff8f25972c28d6667c83b834f189b0427f2d (patch)
tree82dc0e7dd57ecf43d8ddffb2d6a26c41134bafd5 /indra/media_plugins/cef
parente6765df1baa40a46b77e5362c8855a336125e5f7 (diff)
MAINT-8276 Arrows 'Navigate back' and 'Navigate forward' have wrong state
Diffstat (limited to 'indra/media_plugins/cef')
-rw-r--r--indra/media_plugins/cef/media_plugin_cef.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp
index f3d7762a08..4dbee12ea0 100644
--- a/indra/media_plugins/cef/media_plugin_cef.cpp
+++ b/indra/media_plugins/cef/media_plugin_cef.cpp
@@ -194,6 +194,8 @@ void MediaPluginCEF::onTitleChangeCallback(std::string title)
{
LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA, "name_text");
message.setValue("name", title);
+ message.setValueBoolean("history_back_available", mCEFLib->canGoBack());
+ message.setValueBoolean("history_forward_available", mCEFLib->canGoForward());
sendMessage(message);
}