I've deployed this block to my production site and have it on just one node (for testing purposes). I have set all Access Control and configurations as required. I can't seem to get it to really work by sending emails. I'm using Firefox 2.0 (I haven't attempted IE7 just yet) and Firebug shows "unterminated regular expression literal" and "undefinedspread" errors on my node page. You can see for yourself here ... http://www.wiseoz.com/node/3960 (look for the block in the right sidebar).

Is this something you've come across before?

CommentFileSizeAuthor
#1 spread.module.txt6.92 KBjchatard

Comments

jchatard’s picture

StatusFileSize
new6.92 KB

Ok, I figured out what's wrong.

In spread.module replace line 97 which look:
drupal_add_js('Drupal.basePath = '. base_path(), 'inline');
with (quotes):
drupal_add_js('Drupal.basePath = "'. base_path() . '"', 'inline');

Or just replace spread.module with the attached one, remove "txt" extension of course.

If it works, let me know I'll update the module ASAP,
Jérémy

WISEOZ’s picture

Wow! Now that's service! I'll have my guy install this later today and get back with you by this evening on the outcome.

WISEOZ’s picture

We installed this latest version and it corrected the error but it still wasn't sending the e-mails. We determined there is a pathing issue. We created a js sub-directory and moved the js file into it and now it sends the e-mail as expected.

Thanks!

jchatard’s picture

Status: Active » Fixed

Thanks for your testings.

Fix commited, release 1.1 will arrive in a few hours.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.