Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
dbrouard CreditAttribution: dbrouard commentedHi, it also happens to me, the modules is unusable. Any idea?
Comment #2
dbrouard CreditAttribution: dbrouard commentedI 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.
Comment #3
sinasalek CreditAttribution: sinasalek commentedFixed