Hello, I have two numeric fields in an entity and I would like bothe of them to be a slider. It works great for the first one but the second shows the regular widget and that bug occured in firebug:

Horodatage : 20/09/13 15:36:36
Erreur : Error: Syntax error, unrecognized expression: ,
Fichier Source : https://xxxxx/sites/all/modules/jquery_update/replace/jquery/1.8/jquery....
Ligne : 2

When I create the field in the admin interface, the slider is well shown during the setting.

Can you help me ?

Thanks.

Comments

dbrouard’s picture

Hi, it also happens to me, the modules is unusable. Any idea?

dbrouard’s picture

I found more or less the problem. It's in line 68 at sliderfield_element_sliderfield.js

Two params are empty ( setting.adjust_field_max_css_selector and setting.adjust_field_min_css_selector ) and causes that jquery error.
By now as I haven't got more time, my workaround is wrapping that block of code with this:

if( setting.adjust_field_max_css_selector!="" && setting.adjust_field_min_css_selector!="" ){

It's not a final solution but it's a clue.

sinasalek’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

Fixed