Hello developers,

First of all, thank you for this great module.

This is the problem I'm facing, when trying to increase/decrease/reset the text size, it returns this javascript error. Any hints would be appreciated (drupal 6.20, Text Size 6.x-1.9)? Thank you.

Error: tsClasses[i].substring is not a function
source file: http://.../sites/all/modules/textsize/jquery.textsize.js?2
Line: 40

Comments

CZ’s picture

Status: Active » Postponed (maintainer needs more info)

Please post more information about your Drupal version, browser, OS and more.

zoo’s picture

Thank you, here they are:

  • win7
  • ff3.6
  • drupal 6.20
  • Text Size 6.x-1.9

In the css file, using em as font size unit.

CZ’s picture

Please delete your cookie "textsize" and clear your cache. Test it on another browser.

zoo’s picture

Thank you, here it is what I have tried:

  • deleted cookie "textsize"
  • browser and drupal cache cleared
  • reloaded the page

Result: both FF and IE8 return the same error ("tsClasses[i].substring is not a function").

Further configuration informations:

The settings in drupal "admin/settings/textsize" > "Advanced settings"

  • XHTML element: "body" (deleted in the CSS, the font-size rule for the "body" selector)
  • XHTML element ID/class: (empty)
  • Support JavaScript: checked
  • Overwrite text size in templates: unchecked

(NOTE: curiously, with the "XHTML element" field value changed to "div" and along with a valid ID/class selector value in the "XHTML element ID/class" field, it works!)

User Interface modules activated:

  • jQuery plugins 6.x-1.10
  • jQuery UI 6.x-1.4
  • jQuery Update 6.x-2.0-alpha1
  • Text Size 6.x-1.9
CZ’s picture

Use jQuery Update 6.x-1.1 (stable). 6.x-2.0-alpha1 have 6 bug reports.

zoo’s picture

I'm sorry. Unfortunately I don't have the time right now to try jQuery Update 6.x-1.1 (stable).
I think I'll try it later, possibly. Thank you

CZ’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)