Closed (won't fix)
Project:
jQuery Mobile module
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2011 at 21:07 UTC
Updated:
12 Apr 2012 at 18:56 UTC
I'm using this module in conjunction with the jQM theme. Accessing any sort of administrative task such as editing a node, adding content, etc, breaks the module and I'm stuck with the loading animation. Right now I'm only able to make changes if I disable the module first. Am I not setting this up correctly?
Comments
Comment #1
rileyhuff commentedI am having the exact same problem.
Comment #2
timcosgrove commentedA couple of things:
- Have you patched the library as described in the README? There were a few things in there that specifically help with script loading, which helps admin.
- An update of this module with jQM alpha 1.4a is imminent; I will come back to this once that's done. It might take care of these problems. With the new alpha (and with jQuery 1.5) I was able to rewrite the module some such that patching the library is now unnecessary.
Thanks for your patience!
Comment #3
timcosgrove commentedAlso, any errors you're seeing in Firebug or Web Inspector would be helpful here. Thanks!
Comment #4
attheshow commentedI just re-ran the patch to make sure everything had been done correctly. When I'm looking at the jqm-subtheme and then click on an admin link, the loading animation just hangs. Script inspector shows the error:
Error: to.data("page") is undefined
Source File: http://localdev.adm.apsu.edu/sites/m.apsu.edu/files/js/js_v6XeU11jm8eWDs...
Line: 1940
Comment #5
attheshow commentedI should mention that I'm using the Seven admin theme. Does the module not work if you're using an admin theme?
Comment #6
attheshow commentedI think that's it. You basically can't use an admin theme with this module unless your admin theme's page template contains
Comment #7
minoroffense commentedYou can link to those pages, but you'd have to add a data-ajax=false or rel=external or something like that to force a full page reload and avoid any ajax loading.
See http://jquerymobile.com/demos/1.0rc1/docs/pages/page-links.html
Not sure of a good way to tag those links which load a different theme automatically...
Comment #8
dpintats commentedAlternatively, you can navigate to the admin pages directly in the URL. I've been working on a site using this module for months, and came up with a work around a long while ago. I also installed Themekey so that when the admin user role logs in, it switches to the admin theme (seven in my case). I had to use this module, as setting the admin theme alone wasn't working, leaving me with the page loading hang as well. It's definitely not the best solution, as I've had to constantly switch browsers to view the site in the jqm theme.
Comment #9
jasonsavino commentedVersion 7.x-1.x-dev of this module is not supported.