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 +4 -4
- data/administrate-field-list.gemspec +1 -1
- data/app/views/fields/list/_form.html.erb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b4cfab60019e69c58a10a4634fcc1e6331839dd
|
4
|
+
data.tar.gz: 8d57997930c4c09fa1e92bba415a8a6b8d898d7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 924f0549ffe21e399fc6c4fef5e12de25782a20e8aa89637becada29306f80d7617eeda9dfaf86a883bbbccd45261ce3a8e64931f73fc94969882365f29d7d3b
|
7
|
+
data.tar.gz: 9fef09966c74c385d45da74a3e84edc84fd974e61f90cbf3bb6f1f5c0eb63895e927d37373e41e4868aa420d204d0a5c12ca1dff6d6648ce0c852f5e926ece17
|
@@ -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() {
|