caboose-cms 0.5.168 → 0.5.169
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjcyYjYzMjY4OTE5NGI3ODc0OTBiNjIyZTk1ZDUxMjc4ZThhNTBlNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjBjMjc4M2JlZjYwYTBhZjFiZDIyNjc0ZjA4MmVmOGYyY2M5NGNmNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmJhYzJlN2RlMDVhZWRkNTFkMjM1NDhhMTRiZjdlMmY2ZTZkOGJlNzhkMjQy
|
10
|
+
Mjg1MDhmNjZhODVmOTQ5NzcwOGRlMjIwMGJhMWNiNTNhNmM2MjcwY2NlNDA1
|
11
|
+
ZGFkOGM3MTY3MTMxY2IwMmZjNTAxMjQ1YTAzY2I1N2NlZDQ0YzU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWE4ZmVjMDU2NTVhODQ3NzE2ODBkMTJmNGFjMDBkOThmM2JiYjBhNTkwMjA4
|
14
|
+
M2E5NWE5ZGUwNWZlYWI5MTQ0NjRmNWVlNDQ1ZDYwZjAyMWZlY2RhMzE1MzUw
|
15
|
+
ODM1MTgyNjUzZGRiY2FmMGI1MzZjYTYwODAxYmM2M2E5MDAxMTI=
|
@@ -435,8 +435,8 @@ MyAccountOrderController.prototype = {
|
|
435
435
|
form.empty().append(html);
|
436
436
|
form.slideDown();
|
437
437
|
$('#payment_message').empty();
|
438
|
-
$('#payment_confirm').click(function(e) {
|
439
|
-
$('
|
438
|
+
$('#payment_confirm').click(function(e) {
|
439
|
+
$('#expiration').val($('#month').val() + $('#year').val());
|
440
440
|
$('#payment_message').empty().html("<p class='loading'>Processing payment...</p>");
|
441
441
|
$('#payment_form').slideUp();
|
442
442
|
$('#payment').submit();
|
@@ -36,8 +36,8 @@ valid_address = ba &&
|
|
36
36
|
<div class="field" id="expiry">
|
37
37
|
<span class="field-text">Expiration</span>
|
38
38
|
<input id="expiration" name="x_exp_date" type="hidden" />
|
39
|
-
<select id="month" name="month"><% (1..12).each do |i| %><option value="<%= (i<10 ? "0#{i}" : i) %>"><%= (i<10 ? "0#{i}" : i) %> - <%= DateTime.new(2000, i, 1).strftime("%b") %></option><% end %></select> /
|
40
|
-
<select id="year"
|
39
|
+
<select id="month" name="month" ><% (1..12).each do |i| %><option value="<%= (i<10 ? "0#{i}" : i) %>"><%= (i<10 ? "0#{i}" : i) %> - <%= DateTime.new(2000, i, 1).strftime("%b") %></option><% end %></select> /
|
40
|
+
<select id="year" name="year" ><% (DateTime.now.year...DateTime.now.year + 20).each do |i| %><option value="<%= i-2000 %>"><%= i %></option><% end %></select>
|
41
41
|
</div>
|
42
42
|
<input type='button' value='Confirm Payment' id='payment_confirm' class='btn' />
|
43
43
|
</form>
|
data/lib/caboose/version.rb
CHANGED