ama_layout 9.4.0 → 9.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ama_layout/confirm_modal.js +6 -1
- data/lib/ama_layout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5eec21049a6f1660f9786d4d1a0615674d81e2bb
|
4
|
+
data.tar.gz: 8ccc19c0885fc02d09a8a75083ccc61eb2b95800
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97d8fd7d8652dbb53574478c7f6f62208699cb12c579d1bda62ca6abbd52aae5924ff592d124c9b25878ef5d6db384faa6e7ef476925198bc71dd02ea0f98af7
|
7
|
+
data.tar.gz: dd26f7f47189d45689c9f0eb6b2b62ee6203df78dcf6d58979a2714d1f513eb4a836ec5f8f62ec19113a52cf4eacc33fec141039f76c427fc7098bee4b2e6a09
|
@@ -17,7 +17,12 @@ $.rails.allowAction = function(link){
|
|
17
17
|
*/
|
18
18
|
$.rails.confirmed = function(link){
|
19
19
|
link.data('confirm', null);
|
20
|
-
link.
|
20
|
+
if (link.data('method')){
|
21
|
+
// let rails handle non-GET requests
|
22
|
+
// (i.e. data-method="delete")
|
23
|
+
return link.trigger('click.rails');
|
24
|
+
}
|
25
|
+
window.location.href = link.attr('href');
|
21
26
|
}
|
22
27
|
|
23
28
|
/*
|
data/lib/ama_layout/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ama_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.4.
|
4
|
+
version: 9.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael van den Beuken
|
@@ -18,7 +18,7 @@ authors:
|
|
18
18
|
autorequire:
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
|
-
date: 2018-
|
21
|
+
date: 2018-06-22 00:00:00.000000000 Z
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
24
|
name: foundation-rails
|