This takes me to the Login window
But how to come back to the intital window from where I started? Any ideas?
@cool That one is easy. Instead of setting the url, use
Ok let me test this. And how about coming back after successful login?
It didn't work.
What happened when you tried it? What did you expect to happen?
I tested it on this forum. I logged out, went to the tags page. Did ajaxify.go('/login');. Entered my login info, and was redirected back to the tags page.
I am able to solve this issue. I needed to add checks in map.tpl instead of relying upon pure client-side JS solution.