From 7e27ce69738374ffd6454290c23399189b9bd26a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastien=20Muller?= Date: Fri, 24 Feb 2017 02:39:44 +0100 Subject: [PATCH] Override default allrules on _saveOptions() --- js/jquery.validationEngine.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/jquery.validationEngine.js b/js/jquery.validationEngine.js index 289b230..a1e98fb 100644 --- a/js/jquery.validationEngine.js +++ b/js/jquery.validationEngine.js @@ -1980,6 +1980,7 @@ $.validationEngine.defaults.allrules = allRules; var userOptions = $.extend(true,{},$.validationEngine.defaults,options); + userOptions.allrules = allRules; form.data('jqv', userOptions); return userOptions;