From 535e69e2c7d4248da0e7df452aa84321cefec7dd Mon Sep 17 00:00:00 2001 From: thlo Date: Tue, 17 Sep 2013 19:40:19 +0200 Subject: * Fixed that selected text is black (instead of white) * Corrections in the ImageViewer module * Code-Cleanup --- smarttv-client/Javascript/Buttons.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'smarttv-client/Javascript/Buttons.js') 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; -- cgit v1.2.3