administrate-field-list 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ff45d82552535f70bf04829c462a66d76b9318f
4
- data.tar.gz: 86f6895c7ff9534925fc78d14f736962dab4dd57
3
+ metadata.gz: 0b4cfab60019e69c58a10a4634fcc1e6331839dd
4
+ data.tar.gz: 8d57997930c4c09fa1e92bba415a8a6b8d898d7d
5
5
  SHA512:
6
- metadata.gz: 4c26cf0dad9ea3604b306ca7111b64c2a9004bf6429d1e1e275408a93fc70b21cc547092111453317d1338951ae0510f3392c7ab059605ec4383f42740e79a7e
7
- data.tar.gz: 681a0f9f589774807e78c645d2831d24f25c4dd1e729eb70187293f4433c4a23fccc1ff33b2d127851125b8adaef4c6a9e402ad92bac140f9ebc88feb7795a9f
6
+ metadata.gz: 924f0549ffe21e399fc6c4fef5e12de25782a20e8aa89637becada29306f80d7617eeda9dfaf86a883bbbccd45261ce3a8e64931f73fc94969882365f29d7d3b
7
+ data.tar.gz: 9fef09966c74c385d45da74a3e84edc84fd974e61f90cbf3bb6f1f5c0eb63895e927d37373e41e4868aa420d204d0a5c12ca1dff6d6648ce0c852f5e926ece17
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "administrate-field-list"
6
- spec.version = "0.0.2"
6
+ spec.version = "0.0.3"
7
7
  spec.authors = ["potato2003"]
8
8
  spec.email = ["potato2003@gmail.com"]
9
9
 
@@ -33,10 +33,11 @@
33
33
  <script>
34
34
  (function() {
35
35
  var group_selector = '.<%= _group_id %>'
36
- var $f = $(group_selector).parents('form');
37
36
 
38
37
  document.addEventListener("DOMContentLoaded", function(evt) {
39
38
 
39
+ var $f = $(group_selector).parents('form');
40
+
40
41
  $f.on('submit', function() {
41
42
  // Filter empty fileds before submit
42
43
  $(group_selector).filter(function() {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-field-list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - potato2003