vendor/assets/javascripts/formvalidation/framework/semantic.js in formvalidation-rails-0.6.3 vs vendor/assets/javascripts/formvalidation/framework/semantic.js in formvalidation-rails-0.7.0

- old
+ new

@@ -1,21 +1,21 @@ /*! * FormValidation (http://formvalidation.io) * The best jQuery plugin to validate form fields. Support Bootstrap, Foundation, Pure, SemanticUI, UIKit and custom frameworks * - * @version v0.6.2-dev, built on 2015-03-13 8:15:45 AM - * @author https://twitter.com/nghuuphuoc + * @version v0.7.0, built on 2015-08-01 4:57:17 PM + * @author https://twitter.com/formvalidation * @copyright (c) 2013 - 2015 Nguyen Huu Phuoc * @license http://formvalidation.io/license/ */ /** * This class supports validating SemanticUI form (http://semantic-ui.com/) */ (function($) { FormValidation.Framework.Semantic = function(element, options) { options = $.extend(true, { button: { - selector: '[type="submit"]', + selector: '[type="submit"]:not([formnovalidate])', // CSS class of disabled button // http://semantic-ui.com/elements/button.html#disabled disabled: 'disabled' }, control: {