Browse Source

Fix URL validation isssue with form

pull/2095/head
jlukic 9 years ago
parent
commit
00f17f7345
2 changed files with 2 additions and 1 deletions
  1. 1
      RELEASE-NOTES.md
  2. 2
      src/definitions/behaviors/form.js

1
RELEASE-NOTES.md

@ -3,6 +3,7 @@
### Version 2.0.3 - July 8, 2015 ### Version 2.0.3 - July 8, 2015
- **Popup** - Popup `preserve` setting (which preserves popup in DOM to avoid regenerating on each show/hide) was set to `true` by default causing generated popups to remain in DOM. #1369 - **Popup** - Popup `preserve` setting (which preserves popup in DOM to avoid regenerating on each show/hide) was set to `true` by default causing generated popups to remain in DOM. #1369
- **Form** - Form url validation had a typo causing it not to work correctly.
### Version 2.0.2 - July 7, 2015 ### Version 2.0.2 - July 7, 2015

2
src/definitions/behaviors/form.js

@ -1247,7 +1247,7 @@ $.fn.form.settings = {
// value is most likely url // value is most likely url
url: function(value) { url: function(value) {
return $.fn.form.settings.regExp.url.match(value);
return $.fn.form.settings.regExp.url.test(value);
} }
} }

Loading…
Cancel
Save