Skip to content

Commit ff57e3f

Browse files
committed
Merge pull request #633 from xlouder/master
Add escaping Form ID.
2 parents 499f567 + a30d45e commit ff57e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.validationEngine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@
17111711
_getPrompt: function(field) {
17121712
var formId = $(field).closest('form, .validationEngineContainer').attr('id');
17131713
var className = methods._getClassName(field.attr("id")) + "formError";
1714-
var match = $("." + methods._escapeExpression(className) + '.parentForm' + formId)[0];
1714+
var match = $("." + methods._escapeExpression(className) + '.parentForm' + methods._getClassName(formId))[0];
17151715
if (match)
17161716
return $(match);
17171717
},

0 commit comments

Comments
 (0)