Value: true,\r
Name: 'Enable Daylight Saving (+1h)',\r
Info: 'enable this if you are in a timezone that has daylight saving time (+1h)',},\r
+hideWidgetOnCalendarOpen: {\r
+ Type: 'Bool',\r
+ Default: false,\r
+ Value: false,\r
+ Name: 'Hide Widget When Opening Calendar',\r
+ Info: 'enable this if the fullscreen widget should be hidden when clicking on the widget to open the calendar app',},\r
cssStyle_background: {\r
Type: 'String',\r
Default: 'color:#ffffff; background-color:#000000',\r
{\r
try {\r
widget.openApplication(config['calendarApp'].Value, "");\r
- //window.close();\r
+ if (config['hideWidgetOnCalendarOpen'].Value)\r
+ window.close();\r
} catch(e) {\r
error('starting Calendar App');\r
return;\r
document.onclick = null;\r
updateData();\r
}\r
-\r
</script>\r
\r
<style type="text/css">\r
Value: true,\r
Name: 'Enable Daylight Saving (+1h)',\r
Info: 'enable this if you are in a timezone that has daylight saving time (+1h)',},\r
+hideWidgetOnCalendarOpen: {\r
+ Type: 'Bool',\r
+ Default: false,\r
+ Value: false,\r
+ Name: 'Hide Widget When Opening Calendar',\r
+ Info: 'enable this if the fullscreen widget should be hidden when clicking on the widget to open the calendar app',},\r
cssStyle_background: {\r
Type: 'String',\r
Default: 'color:#ffffff; background-color:#000000',\r
{\r
try {\r
widget.openApplication(config['calendarApp'].Value, "");\r
- //window.close();\r
+ if (config['hideWidgetOnCalendarOpen'].Value)\r
+ window.close();\r
} catch(e) {\r
error('starting Calendar App');\r
return;\r
document.onclick = null;\r
updateData();\r
}\r
-\r
</script>\r
\r
<style type="text/css">\r