Page MenuHomePhabricator

Javascript not working for blackberry show/hide section collapse disabled
Closed, ResolvedPublic

Description

Author: preilly

Description:
Javascript not working for blackberry show/hide section collapse disabled


Version: .5
Severity: normal

Details

Reference
bz28862

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:37 PM
bzimport set Reference to bz28862.
bzimport added a subscriber: Unknown Object (MLST).

preilly wrote:

Tested adding Javascript for Blackberry devices and it didn't work properly on a BlackBerry 8900. It rendered the show/hide links but when clicked it didn't render the content for the section. It also was stuck on the processing script stage for at least 3 seconds on the first attempt.

Point of note, uses RIM's own crappy browser, not the Blackberry OS 6 Webkit one.

That browser is not supported by jquery.

Point of note, uses RIM's own crappy browser, not the Blackberry OS 6
Webkit one.

Is it possible to use JS to see if jquery is supported and disable the
toggle if it isn't?

Moving over to preilly so that we can check this on the new gateway as well.

Only Blackberry OS 6 uses Webkit as far as I know.

nick wrote:

This has been suggested as being connected to #30889. It makes sense if it is a Javascript problem as in my experience the BB browser is really poor at dealing JS on other sites as well. From a user perspective, the collapsed sections can be useful but are not essential whereas at present the only way to read the whole article on my phone.

I'd also note that as there still seem to be lots of 8520s being sold here in the UK at least, and they cannot support BB OS 6 due to hardware issues, this is worth fixing if it can be done

The easiest fix was to remove the show/collapse buttons from all BlackBerry browsers. Better that then a broken experience. This fix has now been deployed. When a BB user loads the page the'll see all sections in full.

  • Bug 30889 has been marked as a duplicate of this bug. ***