summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Buttons.js
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-09-17 19:40:19 +0200
committerthlo <t.lohmar@gmx.de>2013-09-17 19:40:19 +0200
commit535e69e2c7d4248da0e7df452aa84321cefec7dd (patch)
treedb95063145452a54e885b5213fed9eeb015ad7ff /smarttv-client/Javascript/Buttons.js
parentc10639b7ed6cc898fad009fbcd2ef17b01d15d3b (diff)
downloadvdr-plugin-smarttvweb-535e69e2c7d4248da0e7df452aa84321cefec7dd.tar.gz
vdr-plugin-smarttvweb-535e69e2c7d4248da0e7df452aa84321cefec7dd.tar.bz2
* Fixed that selected text is black (instead of white)
* Corrections in the ImageViewer module * Code-Cleanup
Diffstat (limited to 'smarttv-client/Javascript/Buttons.js')
-rw-r--r--smarttv-client/Javascript/Buttons.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/smarttv-client/Javascript/Buttons.js b/smarttv-client/Javascript/Buttons.js
index 3b946db..7fa30bb 100644
--- a/smarttv-client/Javascript/Buttons.js
+++ b/smarttv-client/Javascript/Buttons.js
@@ -54,7 +54,6 @@ Buttons.ynReturnCallback = function () {
break;
case Main.eMED:
Buttons.ynHide();
-
break;
default:
break;
@@ -173,6 +172,15 @@ Buttons.ynHide = function () {
case Main.eTMR:
Timers.focus();
break;
+ case Main.eMED:
+ Main.log("Buttons.ynReturnCallback isActive= " + (ImgViewer.isActive == true) ? "true" : "false");
+ if (ImgViewer.isActive == true) {
+ ImgViewer.focus ();
+ }
+ else
+ Main.enableKeys();
+
+ break;
default:
Main.enableKeys();
break;