How to make the documentation theme sidebar show up when rendering page on iPad?

Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 20, 2012
Using safari or chrome, the sidebar doesn't show up when viewing the page (regular browser mode) on an iPad.

1 answer

1 accepted

0 votes
Answer accepted
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2012

I did some digging in the Doc Theme source code and found that the sidebar is explicitly disabled for any mobile user agent string (iPhone, iPad, Android, Blackberry, etc.). Presumably this is because the original author of the theme couldn't get it to work. Here's the offending code in doctheme.js:

// Don't display the sidebard on the iPhone. Will need to support other phones in the future.
if(DetectMobile()) {
    AJS.$("#splitter-sidebar").hide();
    AJS.$("#doctheme-anchor").hide();
}

If you're feeling adventurous, try removing this code from the bundled doc theme (unjar -> edit -> re-jar -> install via plugin manager) and see what happens?

Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 16, 2012

I only care about this for my OnDemand instance, so it has to be something that is shipped. Specifically, I would think tablet support (larger screen) should be highest priority to fix.

Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2012

Raised https://jira.atlassian.com/browse/CONF-26916 - please vote/comment/watch.

Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2012

I found https://jira.atlassian.com/browse/CONF-21524 but it was "Closed: Won't Fix" back when we didn't support mobile browsers.

I'll raise a new improvement/bug on jira.atlassian.com and see if I can get the bug-fix team to have a look at it.

Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 16, 2012

Done. Thanks :).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events