Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Update Validation.js #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Resources/Public/JavaScripts/Validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ jQuery.fn.femanagerValidation = function() {
type: 'POST',
cache: false,
success: function(data) { // return values
if (countForSubmit) {
requestCallback.addCallbackToQueue(true);
}
if (data) {
try {
var json = $.parseJSON(data);
Expand All @@ -133,6 +130,9 @@ jQuery.fn.femanagerValidation = function() {
}

}
if (countForSubmit) {
requestCallback.addCallbackToQueue(true);
}
},
error: function() {
logAjaxError();
Expand Down