Is there a bug in Collapsibleblock 5.x-0.5? When I activate it, I notice that all JS is broken on my site.

Firefox 2 displays this error:

Error: $.cookie is not a function
Source: http://dokumentarkolon.org/sites/all/modules/jstools/collapsiblock/colla...
Line: 31

My system:

Drupal: 5.1
PHP: 5.2.0
MySQL: 4.1.22

Please let me know if there's anything else you need to know.

CommentFileSizeAuthor
#1 collapsiblock.js_.txt1.28 KBianchan

Comments

ianchan’s picture

Title: Collapsibleblock seam to break all JavaScript » Collapsibleblock seems to break all JavaScript
StatusFileSize
new1.28 KB

Also occurs on our Drupal 5 installation.

As a temporary fix, I replaced collapsiblock.js with the file from the preceding jstools release (5.x-0.3). It's attached in case you need to use it.

nedjo’s picture

Status: Active » Closed (duplicate)
psi-borg’s picture

after *.4 'upgrade',

i get same symptoms with different error: object doesn't support this property or method

tried: removing jstools module, deleting module files, remove all records like '%jstools%' in mysql, restoring jstools *.3

error persists.

watchdog reports page not found >> 'sites/all/modules/jstools/jquery.cookie.js'

but this .js file was in neither module version, moreover, grepping entire site fileset for 'jquery.cookie.js' returned nothing.

at this point i'm wondering what the security oversight is for drupal modules - what safeguards are in place to prevent malicious code from being assimilated into the drupal codebase?

drupaljyeo’s picture

ianchan's temporary fix worked for me. awesome!