rails-ujs-form 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,6 @@
2
2
  var showErrorSelector = 'form[data-show-errors]';
3
3
 
4
4
  $(showErrorSelector).live('ajax:error', function(event, request, status, error) {
5
- console.log(request);
6
5
  // CLIENT ERROR -- server-side validation failed. -- FIXME -should this be 422 only?
7
6
  if (request.status >= 400 && request.status < 500) {
8
7
  // if data is html, we replace this content of the form with the content
@@ -1,3 +1,3 @@
1
1
  module RailsUjsForm
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-ujs-form
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Coleman