Commit 76e1ce40 authored by Peter Droogmans's avatar Peter Droogmans
Browse files

Support for BEM qualifier

parent ad66e048
...@@ -534,7 +534,15 @@ ...@@ -534,7 +534,15 @@
}; };
break; break;
case 6: // CLIENTSIDE_VALIDATION_TOP_OF_FIRST_FORM case 6: // CLIENTSIDE_VALIDATION_TOP_OF_FIRST_FORM
if ($('div.messages.error').length) { if ($('div.messages--error').length) {
if ($('div.messages--error').attr('id').length) {
errorel = $('div.messages--error').attr('id');
}
else {
$('div.messages--error').attr('id', errorel);
}
}
else if ($('div.messages.error').length) {
if ($('div.messages.error').attr('id').length) { if ($('div.messages.error').attr('id').length) {
errorel = $('div.messages.error').attr('id'); errorel = $('div.messages.error').attr('id');
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment