Hi, in this version, you use jqp_add_js('jquery.ui.core.min.js', TRUE); whereas "true" signifies that you want to set 'defer' to TRUE in drupal_add_js. I don't know if that was the intention, but it doesn't work for me, I get two errors, pasted as follows. If i remove the "TRUE" from the function call, everything works fine.

syntax error
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n
SITENAMEHERE?E= (line 1)

slider_bar.width(parseInt(settings.width)).slider is not a function
slider_bar.width(parseInt(settings.width)).slider(settings);
slider_t...ield.js?E (line 71)

Cheers,
Martin

CommentFileSizeAuthor
#1 slider_textfield_353542.patch820 bytesskilip

Comments

skilip’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new820 bytes

Thanks for reporting Martin.

skilip’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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

yuetsu’s picture

hi - if i could tag on to this one? i'm also seeing a similar error (see below). however, i don't see where to do the work around of taking out "TRUE" that martin says, or how to employ the patch you have above. could you please give explicit instructions as to how to make this work, step by step? sorry, drupal noob here.

here's the error i see —

Fatal error: Call to undefined function jqp_add_js() in /Applications/XAMPP/xamppfiles/htdocs/drupal/sites/all/modules/slider_textfield/slider_textfield.module on line 134

— yuetsu

yuetsu’s picture

Status: Closed (fixed) » Needs work
akaserer’s picture

Status: Needs work » Closed (duplicate)