Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trivial has_js patch #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

stewsnooze
Copy link

I remember a merge proposal on launchpad to allow batch to work in JS mode with the has_js cookie. The approach here is not perfect as it assumes the site runs at the root of the host. This is possibly ok on a Pressflow install although not perfect. Drupal, in Javascript, sets the has_js cookie on / so it doesn't care about the true root either although / is slightly more glamorous.

With this approach or a similar path based one the rest of the site URLs should be ok and cookie less. Thoughts?

… mode with the has_js cookie. The approach here is not perfect as it assumes the site runs at the root of the host. This is possibly ok on a Pressflow install although not perfect. Drupal, in Javascript, sets the has_js cookie on / so it doesn't care about the true root either although / is slightly more glamorous.


With this approach or a similar path based one the rest of the site URLs should be ok and cookie less.  Thoughts?
@stewsnooze
Copy link
Author

I guess it could also be set in /admin for things like page manager to work a little nicer but I'll leave the very simple thing for now to see if this approach could work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant