pressflow / 6

Each version of Pressflow is API-compatible with the same major Drupal version. For example, Pressflow 6 is compatible with all Drupal 6 modules. Pressflow 6 also integrates the SimpleTest system from Drupal 7 and the CDN support patch.
http://pressflow.org/
GNU General Public License v2.0
234 stars 89 forks source link

Trivial has_js patch #41

Open stewsnooze opened 12 years ago

stewsnooze commented 12 years ago

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?

stewsnooze commented 12 years ago

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