I hope this helps anyone with the same problem.
After update jQuery to 1.8 via jQuery Update module, I've got this error
Uncaught Error: Syntax error, unrecognized expression: , .form-placeholder-exclude-children *, .form-placeholder-exclude
To solve this you have to open form_placeholder.js and change this:
var include = Drupal.settings.form_placeholder.include;
include += ', .form-placeholder-include-children *';
include += ', .form-placeholder-include';
var exclude = Drupal.settings.form_placeholder.exclude;
exclude += ', .form-placeholder-exclude-children *';
exclude += ', .form-placeholder-exclude';
To this:
var include = Drupal.settings.form_placeholder.include;
if(include){
include += ', ';
}
include += '.form-placeholder-include-children *';
include += ', .form-placeholder-include';
var exclude = Drupal.settings.form_placeholder.exclude;
if(exclude){
exclude += ', ';
}
exclude += '.form-placeholder-exclude-children *';
exclude += ', .form-placeholder-exclude';
Comments
Comment #1
rafalenden commentedThank you for help. Changes committed to 7.x-1.2.
Comment #2
rafalenden commentedComment #3
rafalenden commented