• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jquery / Jquery Mobile and Code Igniter - redirects

#1
[eluser]Unknown[/eluser]
I have noticed that anytime I use the redirect() function with jquery mobile / jquery, I have issues with "Undefined" errors and malformed uris if I pass the 'refresh' parameter.

I don't know why this happens, and if it is a bug or not, but to anyone else that is having the issue passing 'location' in lieu of 'refresh' fixes the problem.

By default, ion_auth uses a lot of the refesh paramater so changing it to location will make ion_auth work easily with jquery mobile too.

Thanks,
Jordan

#2
[eluser]Unknown[/eluser]
Works like a charm!
Thanks for this


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.