Skip to content

Commit

Permalink
Fixed PRESIDECMS-879 and PRESIDECMS-1129
Browse files Browse the repository at this point in the history
  • Loading branch information
cfmitrah committed Mar 14, 2018
1 parent b7f66a7 commit 350cc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/assets/js/admin/lib/plugins/jquery.validate.js
Expand Up @@ -1397,7 +1397,7 @@ $.extend( $.validator, {

// http://jqueryvalidation.org/min-method/
min: function( value, element, param ) {
return this.optional( element ) || value >= param;
return this.optional(element) || value >= ( ( typeof(param) == "object" ) ? param.param : param );
},

// http://jqueryvalidation.org/max-method/
Expand Down

0 comments on commit 350cc91

Please sign in to comment.