posabsolute/jQuery-Validation-Engine — pull request #463 by nerdymike25 (2012-08-23 16:21:49+00:00)
Title: Update js/jquery.validationEngine.js

Minor change to the update that I had submitted previously. The check was checking options.dataType, where it should be checking that functions' set var dataType. Found it to be a bug that options.dataType was undefined if the user didn't set the dataType, but the function's set var dataType does work for the checking. Validated this in FireFox, Chrome, Safari, and IE.

Also did a minor change that if the dataType is not JSON, go ahead and pass through the data (json variable) on line 446, in case if the user's script does send something back and they are wanting to do their own processing of the sent data.