Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Doesn't seem to work with jQuery Mobile #496

Closed
davidosullivan opened this Issue Apr 3, 2012 · 1 comment

Comments

Projects
None yet
2 participants

I am using the aloha editor for Wordpress, but have updated the aloha files to the latest build from here.

I am not sure if it is an issue with the Wordpress deployment or the Aloha core but when I try to use Aloha on a site that uses jQuery Mobile (v1.0.1 or v1.1.rc2) I get the following error:-

Uncaught TypeError: Object # has no method 'loadPlugins' in aloha.js at 67798

I think it has something to do with the way aloha does something to the dom ready function and that jQuery Mobile is doing stuff to that as well as I think jQm seems to send an object of its own to Alohas ready function?- but Aloha is by a long way the most complicated (and heavy) code I have looked and and I can't sus out what is happenning...:(

Hopefully something can be done to allow for jQm compatibility in the near future?

Actually I found that manually setting your data-role="page" rather than allowing jQm to do it gets rid of that error- but Aloha still only works on the first page that is loaded. I guess it needs some means of being fired on jQms pageshow or pagehide functions probably...

Will post solution when I find it- though I don't suppose this is the right place for this discussion really...

@evo42 evo42 closed this Oct 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment