From c86e103fea4e0a9bc9cadadb2dc5402c1fc2a60f Mon Sep 17 00:00:00 2001 From: Michael Prager Date: Sun, 20 Dec 2009 21:59:11 +0100 Subject: [PATCH] open calendar when clicking anywhere in fullscreen view --- comingNext/index.html | 10 +++++++--- comingNextB/index.html | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/comingNext/index.html b/comingNext/index.html index 7ba8bf6..1c6c2e9 100644 --- a/comingNext/index.html +++ b/comingNext/index.html @@ -693,6 +693,7 @@ function showSettings() document.getElementById("fullscreenView").style.display = "none"; document.getElementById("aboutView").style.display = "none"; document.getElementById("settingsView").style.display = "block"; + document.onclick = null; window.menu.setLeftSoftkeyLabel("Save", function() { @@ -1058,6 +1059,7 @@ function showAbout() document.getElementById("fullscreenView").style.display = "none"; document.getElementById("aboutView").style.display = "block"; document.getElementById("settingsView").style.display = "none"; + document.onclick = null; window.menu.setLeftSoftkeyLabel(" ", function(){}); window.menu.setRightSoftkeyLabel("Back", function() @@ -1081,6 +1083,7 @@ function showFullscreen() document.getElementById("aboutView").style.display = "none"; document.getElementById("settingsView").style.display = "none"; document.getElementById('body').className = "backgroundFullscreen"; + document.onclick = launchCalendar; createMenu(); updateData(); } @@ -1116,6 +1119,7 @@ function showHomescreen() document.getElementById("aboutView").style.display = "none"; document.getElementById("settingsView").style.display = "none"; document.getElementById('body').className = "background"; + document.onclick = null; updateData(); } @@ -1141,9 +1145,9 @@ hr { color:#ffffff; background-color:#ffffff; height:1px; text-align:left; borde
-