summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Main.js
diff options
context:
space:
mode:
authorthlo <t.lohmar@gmx.de>2013-01-05 22:57:10 +0100
committerthlo <t.lohmar@gmx.de>2013-01-05 22:57:10 +0100
commit03b23f0501ef6adfba35564ba075f13a6854df3b (patch)
tree0b12bca3721b960105e454f85ab19134c07fb802 /smarttv-client/Javascript/Main.js
parenta84fb47821356729f6bbcf5813aec5f7c6faafed (diff)
downloadvdr-plugin-smarttvweb-03b23f0501ef6adfba35564ba075f13a6854df3b.tar.gz
vdr-plugin-smarttvweb-03b23f0501ef6adfba35564ba075f13a6854df3b.tar.bz2
Disable screen saver during playback.
Basic BD Player Front Panel Feedback. Fix for native Vol OSD. Bug Fixes.
Diffstat (limited to 'smarttv-client/Javascript/Main.js')
-rwxr-xr-xsmarttv-client/Javascript/Main.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/smarttv-client/Javascript/Main.js b/smarttv-client/Javascript/Main.js
index da302d8..3294f02 100755
--- a/smarttv-client/Javascript/Main.js
+++ b/smarttv-client/Javascript/Main.js
@@ -66,12 +66,8 @@ var Main = {
};
Main.onLoad = function() {
- if (typeof(window.onShow) == "function" ) {
- window.onShow = showHandler;
- }
- if (typeof(window.onshow) == "function" ) {
- window.onshow = showHandler;
- }
+ window.onShow = showHandler;
+ window.onshow = showHandler;
Network.init();
try {
@@ -101,7 +97,7 @@ Main.onLoad = function() {
showHandler = function() {
NNaviPlugin = document.getElementById("pluginObjectNNavi");
- NNaviPlugin.SetBannerState(2);
+ NNaviPlugin.SetBannerState(1);
pluginObj.unregistKey(tvKey.KEY_VOL_UP);
pluginObj.unregistKey(tvKey.KEY_VOL_DOWN);
@@ -112,7 +108,6 @@ showHandler = function() {
// Called by Config, when done
-// TODO: Send sendReadyEvent early and show a splash screen during startup
Main.init = function () {
Main.log("Main.init()");
if ( Player.init() && Server.init() && Audio.init()) {