|
@@ -1135,6 +1135,19 @@
|
|
|
}(window.jQuery));
|
|
}(window.jQuery));
|
|
|
;(function($) {
|
|
;(function($) {
|
|
|
$.fn.bootstrapValidator.validators.greaterThan = {
|
|
$.fn.bootstrapValidator.validators.greaterThan = {
|
|
|
|
|
+ html5Attributes: ['message', 'value', 'inclusive'],
|
|
|
|
|
+
|
|
|
|
|
+ enableByHtml5: function($field) {
|
|
|
|
|
+ var min = $field.attr('min');
|
|
|
|
|
+ if (min) {
|
|
|
|
|
+ return {
|
|
|
|
|
+ value: min
|
|
|
|
|
+ };
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return false;
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* Return true if the input value is greater than or equals to given number
|
|
* Return true if the input value is greater than or equals to given number
|
|
|
*
|
|
*
|