qark / DevConf

Mobile application for DevConf
http://www.devconf.cz/
2 stars 2 forks source link

Schedules don't work on Opera Mini #1

Closed hhorak closed 12 years ago

hhorak commented 12 years ago

When opening m.devconf.cz (version for smartphones) in Opera Mini 6.5.2 on Android 2.2, schedules are not displayed at all. Some problems are mentioned in support matrix for jQuery [1], but I've looked into it and it seems that rather localstorage (HTML5 feature) doesn't work properly in this browser.

The patch bellow allows to use localstorage only in other browsers than opera and it works for me now. Please, consider applying the patch or find another solution.

[1] http://jquerymobile.com/gbs/

--- application.js.opera 2012-02-06 12:10:15.000000000 +0100 +++ application.js 2012-02-06 12:09:16.000000000 +0100 @@ -19,7 +19,7 @@ var scheduleDate = "2012-02-17"; $("#schedulePage").live('pageshow', function(event) { console.log("DEVCONF: #schedulePage pageinit event"); // try local storage first

qark commented 12 years ago

Thanks for the report! I've used try/catch construct to make sure other browsers without localStorage works well too.

I tested the site with Opera Min 6.5.27452 on Android 4.0.3 and it seems working well. Could you verify it and re-open the ticket if it does not work?

hhorak commented 12 years ago

It works fine now, thanks ;)