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

- old
+ new

@@ -1,11 +1,11 @@ /*! * 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 Foundation form (http://foundation.zurb.com/) @@ -13,10 +13,10 @@ /* global Foundation: false */ (function($) { FormValidation.Framework.Foundation = function(element, options) { options = $.extend(true, { button: { - selector: '[type="submit"]', + selector: '[type="submit"]:not([formnovalidate])', // The class for disabled button // http://foundation.zurb.com/docs/components/buttons.html#button-colors disabled: 'disabled' }, err: {