If you go to any page on api.drupal.org that contains a pager (for example https://api.drupal.org/api/drupal/classes), you can't switch the page if your browser has JavaScript disabled. This makes cloning the docs for offline use using a tool like httrack impossible.

Comments

David_Rothstein’s picture

Project: Drupal core » Drupal.org site moderators
Version: 7.27 »
Component: documentation » API.drupal.org

I couldn't reproduce this actually; the pager worked fine for me with JavaScript disabled (in Firefox at least).

Nonetheless, moving to the api.drupal.org issue queue. I'm not sure what code is responsible for that JavaScript-pager but don't think it's an issue with core.

jhodgdon’s picture

Title: Can't change pages with JavaScript disabled » Pager doesn't work with JavaScript disabled
Project: Drupal.org site moderators » Views (for Drupal 7)
Version: » 7.x-3.x-dev
Component: API.drupal.org » User interface
Status: Active » Postponed (maintainer needs more info)

The JavaScript pager in use currently on api.drupal.org comes from Views. The Views are from the API module, and they have the "Use Ajax" setting turned on, so that searching, filtering, and table sort will use Ajax if JavaScript is available. If it is not working without JavaScript, then that is a bug.

However, I think we need more information from the person who reported this issue, since David reported in #1 that he could not reproduce it in Firefox:

a) What browser were you using? (Browser name, version, operating system)

b) What settings were you using (specifically how did you turn off JavaScript)?

c) Just to make sure, after turning off JavaScript, did you either close your browser and restart, or completely clear the browser memory and disk cache, and reload the api.drupal.org page you were looking at? Or if you go back today to api.drupal.org, can you still see the problem?

d) What api.drupal.org page(s) exhibited this problem?

nnewton’s picture

This might have been a configuration issue with the CDN. Could you re-test?

-N

jhodgdon’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

At this point, the issue was retested in #1 and I'm going to close as 'cannot reproduce'. We can reopen if someone can provide more details (see #2) and it is still a problem.