I realize this is set in shadowbox.js which is separate from the drupal module but perhaps there could be clarification on the admin/settings page to add a trailing "/" or maybe the module could add it itself.
Totally not a big deal to me but I wanted to bring it to attention for ya ;)
Example drupal error log:
Type: page not found
Location: http://example.com/sites/all/plugins/shadowbox-build-3.0blibraries/swfob...
There should be a "/" after "shadowbox-build-3.0b"
I put the "/" in my shadowbox.js and the error was gone. (S.path+"/libraries/swfobject/swfobject.js")
I also saw that there was a ticket closed on this already for the dev version but this is on the stable version so I opened a new one.
Comments
Comment #1
dstolYou can resolve this by adding a trailing slash to Shadowbox location in admin/settings/shadowbox/global
Comment #2
onejam commentedI'm getting the same error shown in my log file:
In Shadow location, i have: sites/all/libraries/shadowbox
As you can see, it's no adding the slash after it.
Is this fixed in the dev version?
Thanks,
Comment #3
psynaptic commentedThanks for the work guys.
Fixed in DRUPAL-6--3.
Comment #4
onejam commentedThanks, I can confirm it fixed the issue.
Comment #5
psynaptic commentedThanks for confirming. I'll fix a couple more issues and make a new release.
Comment #7
psynaptic commentedI have just committed a fix for this issue. Please could you test it and report if the problem is solved for you?
Comment #8
strikehawkecomm commentedAdd to shadowbox module the eval that if the trailing slash is missing, ADD it?
Comment #9
psynaptic commentedWTF?
Comment #10
strikehawkecomm commentedChanged comment to a question to clarify it wasn't meant to be a demand.
Comment #11
psynaptic commentedI have no idea what you were trying to say. Could you clarify?
I made a new release anyway.