csdl / makahiki

An Open Source "Serious Game" Framework for Sustainability
http://makahiki.readthedocs.org/
MIT License
7 stars 5 forks source link

Clicking on SGG Level 2 when locked doesn't bring up dialog box #563

Open rbrewer opened 10 years ago

rbrewer commented 10 years ago

On mopsa, with level 1 unlocked, clicking on the locked level 2 does not bring up a dialog box explaining what is required to unlock level 2. Clicking on level 3 & 4 do bring up the expected dialog boxes.

yongwen commented 10 years ago

It is caused by the quote (”) character in the unlock text. Removing the quote fixes the problem. The better fix is to handle such character(s) in the JavaScript. On Sep 11, 2013 3:58 AM, "Robert Brewer" notifications@github.com wrote:

On mopsa, with level 1 unlocked, clicking on the locked level 2 does not bring up a dialog box explaining what is required to unlock level 2. Clicking on level 3 & 4 do bring up the expected dialog boxes.

— Reply to this email directly or view it on GitHubhttps://github.com/csdl/makahiki/issues/563 .