secure_escrow 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,15 +53,18 @@
|
|
53
53
|
|
54
54
|
var formSubmitSelector = 'form';
|
55
55
|
|
56
|
-
$(
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
handleRemoteEscrowSubmission(form);
|
63
|
-
}
|
56
|
+
$(function() {
|
57
|
+
$(document.body).on('submit.secure_escrow', 'form',
|
58
|
+
function(event) {
|
59
|
+
var form = $(this),
|
60
|
+
escrow = form.data('escrow'),
|
61
|
+
isEscrow = escrow !== undefined;
|
64
62
|
|
63
|
+
if (isEscrow && 'iframe' === escrow) {
|
64
|
+
handleRemoteEscrowSubmission(form);
|
65
|
+
}
|
66
|
+
}
|
67
|
+
);
|
65
68
|
});
|
66
69
|
|
67
70
|
}(jQuery));
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secure_escrow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70160254229060 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70160254229060
|
25
25
|
description: SecureEscrow provides a content proxy for Rails applications allowing
|
26
26
|
POSTing to secure actions from insecure domains without full-page refreshes
|
27
27
|
email:
|