Skip to content

Commit d95f687

Browse files
author
Cedric Dugas
committed
1 parent f1b14a7 commit d95f687

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
@@ -1350,7 +1350,7 @@
13501350
// asynchronously called on success, data is the json answer from the server
13511351
var errorFieldId = json[0];
13521352
//var errorField = $($("#" + errorFieldId)[0]);
1353-
var errorField = $($("input[id='" + errorFieldId +"']")[0]);
1353+
var errorField = $("#"+ errorFieldId +"']").eq(0);
13541354

13551355
// make sure we found the element
13561356
if (errorField.length == 1) {

0 commit comments

Comments
 (0)