From 00111cfd7bcc2ada7da81981ccd0297fe1973df9 Mon Sep 17 00:00:00 2001 From: paul179 Date: Fri, 17 Feb 2017 18:41:27 +0100 Subject: [PATCH] Update widget_weather.js add weatherIcon to device_type PROPLANTA --- www/tablet/js/widget_weather.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/tablet/js/widget_weather.js b/www/tablet/js/widget_weather.js index b8476fa1..603f1839 100755 --- a/www/tablet/js/widget_weather.js +++ b/www/tablet/js/widget_weather.js @@ -583,6 +583,8 @@ var Modul_weather = function () { device_type = elem.data('device-type'); } else { if (par.match(/^fc\d+_weather(Day|Evening|Morning|Night)(?:Icon)?$/)) { + device_type = 'PROPLANTA'; + } else if (par.match(/^weatherIcon$/)) { device_type = 'PROPLANTA'; } else if (par.match(/^fc\d+_condition$/)) { device_type = 'Weather'; @@ -656,4 +658,4 @@ var Modul_weather = function () { }); return me; -}; \ No newline at end of file +};