Opened 12 years ago

Closed 12 years ago

#6773 closed defect (invalid)

Mythweb only allows one animated map in weather module

Reported by: phoenixV@… Owned by: xris
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: 0.21-fixes
Severity: low Keywords: Weaather, Mythweb
Cc: Ticket locked: no


If multiple animated maps are defined in mythweather only the first defined is displayed. This seems to be due to a require_once being used in /modules/weathertmpl/default/weather.php and how the generated javascript functions.

Change History (2)

comment:1 Changed 12 years ago by Joe Ripley <vitaminjoe@…>

This is due to the nature of the JavaScript? that performs the map animation. A patch to provide unique function names for each animated map will be necessary to get multiple animations running.

There may be a more elegant solution to the problem.

-- Joe Ripley vitaminjoe@…

comment:2 Changed 12 years ago by Rob Smith

Resolution: invalid
Status: newclosed

As Joe said, this isn't trivial, but in any case, it's a feature request without patch.

Note: See TracTickets for help on using tickets.