The following patch fixes an issue where the default page callback is overridden for other themes by jQuery Mobile when it should only be overridden if the current active theme is a sub-theme of Mobile jQuery or the theme itself.

jquerymobile/jquerymobile.module :: line 68

function jquerymobile_menu_alter(&$items) {
  $items['node']['page callback'] = 'jquerymobile_page_default';
}

Comments

Rory’s picture

Status: Active » Needs review
StatusFileSize
new723 bytes

Original patch failed testing, sorry. Please refer to the following updated patch.

Rory’s picture

Failed testing again, sorry. Please refer to the updated patch.

kscheirer’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me, I think we still need this.