abracadabra 1.1.1 → 1.1.2
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/abracadabra.js +1 -2
- data/lib/abracadabra/version.rb +1 -1
- data/test/dummy/app/assets/javascripts/application.js +2 -2
- data/test/dummy/app/assets/stylesheets/application.css +1 -1
- data/test/dummy/app/views/layouts/application.html.erb +2 -2
- 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: a78ed87b152d2758f31497d0ddaf36ac70b8180a
|
4
|
+
data.tar.gz: dfe81afb7c1d8b5c4ddfce49b975621109e669de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9b249bbfd9eef6ef25f82fff7e239fe533ca29416a11fb481406b340d95c1bd61d2dc119ba3ac4cb412dc6df6fd9571edcea6bc1133780d688c6d5d89437ccf
|
7
|
+
data.tar.gz: ba544aa1215c8756ef7490c0109c1bde5a61c05952c2cbb5a55e7a9c27f233ed05d3aac416ac6d19d5a6e233ca19484260eb4045e33e72f2bd4a6d7043bf7599
|
@@ -52,9 +52,7 @@ $(function() {
|
|
52
52
|
|
53
53
|
$("body").on("submit", ".abracadabra-form", function(e) {
|
54
54
|
if(abracadabraSubmissionInProgress == true || abracadabraEscapeKeydown == true) {
|
55
|
-
console.log(abracadabraEscapeKeydown)
|
56
55
|
e.preventDefault();
|
57
|
-
abracadabraEscapeKeydown = false;
|
58
56
|
return false;
|
59
57
|
}
|
60
58
|
abracadabraSubmissionInProgress = true;
|
@@ -123,6 +121,7 @@ $(function() {
|
|
123
121
|
e.preventDefault();
|
124
122
|
if(abracadabraSubmissionInProgress == false) {
|
125
123
|
closeAbracadabra(this, false, false);
|
124
|
+
abracadabraEscapeKeydown = false;
|
126
125
|
}
|
127
126
|
}
|
128
127
|
/* /Press Escape to cancel */
|
data/lib/abracadabra/version.rb
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>Dummy</title>
|
5
|
-
<%= stylesheet_link_tag "application", media: "all"
|
6
|
-
<%= javascript_include_tag "application"
|
5
|
+
<%= stylesheet_link_tag "application", media: "all" %>
|
6
|
+
<%= javascript_include_tag "application" %>
|
7
7
|
<%= csrf_meta_tags %>
|
8
8
|
</head>
|
9
9
|
<body>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abracadabra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trevor Hinesley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|