From b788b9e2c84856f9d332bb5fd3f1fc4c87713850 Mon Sep 17 00:00:00 2001 From: thlo Date: Mon, 4 Mar 2013 20:23:39 +0100 Subject: Bug fix for Direct Live Channel Access. --- smarttv-client/Javascript/DirectAccess.js | 72 ++++++++++++++++++------------- smarttv-client/Javascript/Display.js | 4 ++ 2 files changed, 46 insertions(+), 30 deletions(-) (limited to 'smarttv-client') diff --git a/smarttv-client/Javascript/DirectAccess.js b/smarttv-client/Javascript/DirectAccess.js index 73d9fdf..418a5c6 100644 --- a/smarttv-client/Javascript/DirectAccess.js +++ b/smarttv-client/Javascript/DirectAccess.js @@ -97,7 +97,8 @@ DirectAccess.hide = function () { window.clearTimeout(DirectAccess.timeoutObj); DirectAccess.timeoutObj = null; }; - $("#directAccessAnchor").val(""); +// $("#directAccessAnchor").val(""); + $("#directAccessText").text(""); $("#directChanAccess").hide(); $("#directAccessAnchor").blur(); @@ -129,8 +130,10 @@ DirectAccess.cancel = function () { }; DirectAccess.handleEnter = function () { - Main.log("DirectAccess.handleEnter val= " +$("#directAccessAnchor").val() ); - DirectAccess.selectNewChannel($("#directAccessAnchor").val()); +// Main.log("DirectAccess.handleEnter val= " +$("#directAccessAnchor").val() ); +// DirectAccess.selectNewChannel($("#directAccessAnchor").val()); + Main.log("DirectAccess.handleEnter val= " +$("#directAccessText").text() ); + DirectAccess.selectNewChannel($("#directAccessText").text()); DirectAccess.hide(); // find entry according to number @@ -140,12 +143,13 @@ DirectAccess.createStyleSheet = function () { var sheet = $("