suzhe / google-gadgets-for-linux

Automatically exported from code.google.com/p/google-gadgets-for-linux
Apache License 2.0
0 stars 0 forks source link

digital-alarm-clock.gg: ReferenceError: _onOpen is not defined #350

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add the World Daylight Alarm Clock
2. Right click, select Options
3. Notice dialog has no text; console prints:
"/usr/share/google-gadgets/digital-alarm-clock.gg/options.xml:0:
ReferenceError: _onOpen is not defined"

What is the expected output? What do you see instead?
Text and values in the options dialog.

What version of the product are you using? On what operating system?
0.10.5, Ubuntu Karmic (but I checked 11.1 and it's files have the same
issue I note below)

Please provide any additional information below.
Looking inside the gadget, options.xml defines onOpen=_onOpen(), but
options.js defines just onOpen().  That is, options.js is missing the
underscore.

Original issue reported on code.google.com by michael....@gmail.com on 14 Jan 2010 at 3:29

GoogleCodeExporter commented 9 years ago

Original comment by james...@gmail.com on 15 Jan 2010 at 4:17

GoogleCodeExporter commented 9 years ago
Fixed in trunk.

Original comment by james...@gmail.com on 18 Jan 2010 at 7:44