dlegr250_material_design 0.1.61 → 0.1.62
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd12bea502a75214a0ff4db360c3c1bfc49da03a
|
4
|
+
data.tar.gz: fea2b52b106b186452b97468c7b8f4f45be3bcc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 831bcd588b990156ed30f1488593c03a4b139da2893e9bdb7a47a3ce4dca25fe2e125abf5aa63eaff4bbc1471356a30c951fbd54fc10c94754e2a8e4ef89c6c6
|
7
|
+
data.tar.gz: 8260ce0b76015e0a8abbd5e9a6e86fc487fbae5767b795764e7418056d6a9ee756cfc216b587dbff39ad18ee063a2b0230dc1922025264574987505792b1b6af
|
@@ -11,8 +11,8 @@ class App.MD.Forms
|
|
11
11
|
@setEvents: () ->
|
12
12
|
# Autosubmit a parent form when a field changes
|
13
13
|
# (applied to individual fields)
|
14
|
-
$("body").on "change", ":input[data-auto-submit-on-change='true']", =>
|
15
|
-
$(
|
14
|
+
$("body").on "change", ":input[data-auto-submit-on-change='true']", (event) =>
|
15
|
+
$(event.target).parents("form").submit()
|
16
16
|
|
17
17
|
# Focus cursor
|
18
18
|
$(".auto-focus").focus()
|