vindi-subscriptions-and-recurring-payments - Version 1.0.13

Version Notes

version 1.0.13

Download this release

Release Info

Developer Tales Galvao
Extension vindi-subscriptions-and-recurring-payments
Version 1.0.13
Comparing to
See all releases


Code changes from version 1.0.12 to 1.0.13

Files changed (33) hide show
  1. app/code/community/Vindi/Subscription/Block/Config/Information.php +0 -0
  2. app/code/community/Vindi/Subscription/Block/Form/BankSlip.php +0 -0
  3. app/code/community/Vindi/Subscription/Block/Form/Cc.php +0 -0
  4. app/code/community/Vindi/Subscription/Helper/Api.php +0 -0
  5. app/code/community/Vindi/Subscription/Helper/Data.php +0 -0
  6. app/code/community/Vindi/Subscription/Helper/WebhookHandler.php +0 -0
  7. app/code/community/Vindi/Subscription/Model/BankSlip.php +0 -0
  8. app/code/community/Vindi/Subscription/Model/Config/Installments.php +0 -0
  9. app/code/community/Vindi/Subscription/Model/Config/Shippingmethod.php +0 -0
  10. app/code/community/Vindi/Subscription/Model/CreditCard.php +1 -0
  11. app/code/community/Vindi/Subscription/Model/Observer.php +0 -0
  12. app/code/community/Vindi/Subscription/Model/Product/Attribute/Plan.php +0 -0
  13. app/code/community/Vindi/Subscription/Model/Product/Type.php +0 -0
  14. app/code/community/Vindi/Subscription/Trait/PaymentMethod.php +0 -0
  15. app/code/community/Vindi/Subscription/controllers/WebhookController.php +0 -0
  16. app/code/community/Vindi/Subscription/etc/adminhtml.xml +0 -0
  17. app/code/community/Vindi/Subscription/etc/config.xml +1 -1
  18. app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/install-1.0.0.php +0 -0
  19. app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.0-1.0.1.php +0 -0
  20. app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.1-1.0.2.php +0 -0
  21. app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.4-1.0.5.php +0 -0
  22. app/design/adminhtml/base/default/layout/vindi_subscription.xml +0 -0
  23. app/design/adminhtml/base/default/template/vindi_subscription/payment/form/bankslip.phtml +0 -0
  24. app/design/adminhtml/base/default/template/vindi_subscription/payment/form/cc.phtml +0 -0
  25. app/design/frontend/base/default/layout/vindi_subscription.xml +0 -0
  26. app/design/frontend/base/default/template/vindi_subscription/payment/form/bankslip.phtml +0 -0
  27. app/design/frontend/base/default/template/vindi_subscription/payment/form/cc.phtml +0 -0
  28. app/etc/modules/Vindi_Subscription.xml +0 -0
  29. package.xml +7 -7
  30. skin/adminhtml/base/default/vindi_subscription/css/vindi_subscription.css +56 -0
  31. skin/adminhtml/base/default/vindi_subscription/js/vindi_subscription.js +113 -0
  32. skin/frontend/base/default/vindi_subscription/css/vindi_subscription.css +0 -0
  33. skin/frontend/base/default/vindi_subscription/js/vindi_subscription.js +0 -0
app/code/community/Vindi/Subscription/Block/Config/Information.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Block/Form/BankSlip.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Block/Form/Cc.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Helper/Api.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Helper/Data.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Helper/WebhookHandler.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/BankSlip.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/Config/Installments.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/Config/Shippingmethod.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/CreditCard.php CHANGED
@@ -171,6 +171,7 @@ class Vindi_Subscription_Model_CreditCard extends Mage_Payment_Model_Method_Cc
171
  'card_cvv' => $payment->getCcCid() ?: '000',
172
  'customer_id' => $customerId,
173
  'payment_company_code' => $payment->getCcType(),
 
174
  ];
175
 
176
  $paymentProfileId = $this->api()->createCustomerPaymentProfile($creditCardData);
171
  'card_cvv' => $payment->getCcCid() ?: '000',
172
  'customer_id' => $customerId,
173
  'payment_company_code' => $payment->getCcType(),
174
+ 'payment_method_code' => $this->getPaymentMethodCode()
175
  ];
176
 
177
  $paymentProfileId = $this->api()->createCustomerPaymentProfile($creditCardData);
app/code/community/Vindi/Subscription/Model/Observer.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/Product/Attribute/Plan.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/Product/Type.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Trait/PaymentMethod.php CHANGED
File without changes
app/code/community/Vindi/Subscription/controllers/WebhookController.php CHANGED
File without changes
app/code/community/Vindi/Subscription/etc/adminhtml.xml CHANGED
File without changes
app/code/community/Vindi/Subscription/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Vindi_Subscription>
5
- <version>1.0.12</version>
6
  </Vindi_Subscription>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Vindi_Subscription>
5
+ <version>1.0.13</version>
6
  </Vindi_Subscription>
7
  </modules>
8
  <global>
app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/install-1.0.0.php CHANGED
File without changes
app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.0-1.0.1.php CHANGED
File without changes
app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.1-1.0.2.php CHANGED
File without changes
app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.4-1.0.5.php CHANGED
File without changes
app/design/adminhtml/base/default/layout/vindi_subscription.xml CHANGED
File without changes
app/design/adminhtml/base/default/template/vindi_subscription/payment/form/bankslip.phtml CHANGED
File without changes
app/design/adminhtml/base/default/template/vindi_subscription/payment/form/cc.phtml CHANGED
File without changes
app/design/frontend/base/default/layout/vindi_subscription.xml CHANGED
File without changes
app/design/frontend/base/default/template/vindi_subscription/payment/form/bankslip.phtml CHANGED
File without changes
app/design/frontend/base/default/template/vindi_subscription/payment/form/cc.phtml CHANGED
File without changes
app/etc/modules/Vindi_Subscription.xml CHANGED
File without changes
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>vindi-subscriptions-and-recurring-payments</name>
4
- <version>1.0.12</version>
5
  <stability>stable</stability>
6
  <license>GPLv3</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>A integra&#xE7;&#xE3;o do m&#xF3;dulo da Vindi permite cria&#xE7;&#xE3;o e gest&#xE3;o de planos e assinaturas atrav&#xE9;s do Magento de forma transparente.</summary>
10
  <description>A integra&#xE7;&#xE3;o do m&#xF3;dulo da Vindi permite cria&#xE7;&#xE3;o e gest&#xE3;o de planos e assinaturas atrav&#xE9;s do Magento de forma transparente.</description>
11
- <notes>version 1.0.12</notes>
12
- <authors><author><name>Tales Galvao</name><user>talesgalvao</user><email>tales.galvao@gmail.com</email></author><author><name>Erico Pedroso</name><user>ericopedroso</user><email>erico.pedroso@vindi.com.br</email></author></authors>
13
- <date>2016-10-11</date>
14
- <time>19:32:44</time>
15
- <contents><target name="magecommunity"><dir name="Vindi"><dir name="Subscription"><dir name="Block"><dir name="Config"><file name="Information.php" hash="b324090de6fee25d09572d825709a6a9"/></dir><dir name="Form"><file name="BankSlip.php" hash="bce644dc03d2ed25389dceb21f9762ad"/><file name="Cc.php" hash="8a68106d75a788654026999739703eef"/></dir></dir><dir name="Helper"><file name="Api.php" hash="1f0595f475eef60f3ebd2d97a12c3dfd"/><file name="Data.php" hash="d1f0d18d79647a11c991bac60ee2ef44"/><file name="WebhookHandler.php" hash="7058847a992930599ab96eaf87a5fa84"/></dir><dir name="Model"><file name="BankSlip.php" hash="2f157396ab73260fd8f48c8c2643b0c2"/><dir name="Config"><file name="Installments.php" hash="0f899e0267b0b0f1d17acaf06a65e493"/><file name="Shippingmethod.php" hash="5afab77a4c4e3a22992350ac41dc57b5"/></dir><file name="CreditCard.php" hash="a4025a310e2f4c08f778527624c0a874"/><file name="Observer.php" hash="e508b5c67b8a4a5db510939d41a67846"/><dir name="Product"><dir name="Attribute"><file name="Plan.php" hash="b1f3084edcd57f0d480d1376c4d90e4b"/></dir><file name="Type.php" hash="9bb3c00df44019ced9ad1682a2d3c2be"/></dir></dir><dir name="Trait"><file name="PaymentMethod.php" hash="011368d279df99ebceca820991bf5f19"/></dir><dir name="controllers"><file name="WebhookController.php" hash="d4886b956fe54d7ae8a38b3be22897d4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="19f4eb5c16d561805f7b017186e2140b"/><file name="config.xml" hash="6c685aa8e5778b27ad05636545fda7d1"/><file name="system.xml" hash="f2ce6a7644dcef43942aa24eb412f355"/></dir><dir name="sql"><dir name="vindi_subscription_setup"><file name="install-1.0.0.php" hash="cc7722665a2f587d8bf8310a94503353"/><file name="upgrade-1.0.0-1.0.1.php" hash="b4f107c231dd4cdb9e950a1c98c35a3d"/><file name="upgrade-1.0.1-1.0.2.php" hash="a018618fe25d0b3c45d1137a9b07aa7d"/><file name="upgrade-1.0.4-1.0.5.php" hash="acd0ba386942f42bad1ef792e8ac7aa1"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Vindi_Subscription.xml" hash="64a2addef728637da8dcd80a2b3c3415"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="vindi_subscription"><dir name="payment"><dir name="form"><file name="bankslip.phtml" hash="df328f9149c101a6ba5fada0bbca9ef4"/><file name="cc.phtml" hash="07d522a86a3cb64c8d912fd4d431f142"/></dir></dir></dir></dir><dir name="layout"><file name="vindi_subscription.xml" hash="f6aea64fedba97321b653f3ddc83ab11"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="vindi_subscription"><dir name="payment"><dir name="form"><file name="bankslip.phtml" hash="df328f9149c101a6ba5fada0bbca9ef4"/><file name="cc.phtml" hash="3f2cc2ce886f9488a456b04e2c3a4c96"/></dir></dir></dir></dir><dir name="layout"><file name="vindi_subscription.xml" hash="ab06d89e538b954ce956f5a6674f83c0"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="vindi_subscription"><dir name="css"><file name="vindi_subscription.css" hash="ac7c5eab0913804e1cb90d5e9474e6a0"/></dir><dir name="js"><file name="vindi_subscription.js" hash="7d33f5ced68caf2fbcc3147f32d5c8fb"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.5.0</min><max>7.0.1</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>vindi-subscriptions-and-recurring-payments</name>
4
+ <version>1.0.13</version>
5
  <stability>stable</stability>
6
  <license>GPLv3</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>A integra&#xE7;&#xE3;o do m&#xF3;dulo da Vindi permite cria&#xE7;&#xE3;o e gest&#xE3;o de planos e assinaturas atrav&#xE9;s do Magento de forma transparente.</summary>
10
  <description>A integra&#xE7;&#xE3;o do m&#xF3;dulo da Vindi permite cria&#xE7;&#xE3;o e gest&#xE3;o de planos e assinaturas atrav&#xE9;s do Magento de forma transparente.</description>
11
+ <notes>version 1.0.13</notes>
12
+ <authors><author><name>Tales Galvao</name><user>talesgalvao</user><email>tales.galvao@vindi.com.br</email></author><author><name>Erico Pedroso</name><user>ericopedroso</user><email>erico.pedroso@vindi.com.br</email></author><author><name>Lyon Cesar</name><user>lyoncesar</user><email>lyon.cesar@vindi.com.br</email></author><author><name>Rodrigo Rebelatto</name><user>rodrigorebelatto</user><email>rodrigo.rebelatto@vindi.com.br</email></author></authors>
13
+ <date>2016-12-09</date>
14
+ <time>20:32:43</time>
15
+ <contents><target name="magecommunity"><dir name="Vindi"><dir name="Subscription"><dir name="Block"><dir name="Config"><file name="Information.php" hash="b324090de6fee25d09572d825709a6a9"/></dir><dir name="Form"><file name="BankSlip.php" hash="bce644dc03d2ed25389dceb21f9762ad"/><file name="Cc.php" hash="8a68106d75a788654026999739703eef"/></dir></dir><dir name="Helper"><file name="Api.php" hash="45a8c591dd5282dc8ec6b818468802c0"/><file name="Data.php" hash="d1f0d18d79647a11c991bac60ee2ef44"/><file name="WebhookHandler.php" hash="b6d89b15bf832dc20257143c1e87c11b"/></dir><dir name="Model"><file name="BankSlip.php" hash="3f2b38f3f86d7ee56597bc5e6ccfc2a9"/><dir name="Config"><file name="Installments.php" hash="0f899e0267b0b0f1d17acaf06a65e493"/><file name="Shippingmethod.php" hash="5afab77a4c4e3a22992350ac41dc57b5"/></dir><file name="CreditCard.php" hash="a4025a310e2f4c08f778527624c0a874"/><file name="Observer.php" hash="e508b5c67b8a4a5db510939d41a67846"/><dir name="Product"><dir name="Attribute"><file name="Plan.php" hash="b1f3084edcd57f0d480d1376c4d90e4b"/></dir><file name="Type.php" hash="9bb3c00df44019ced9ad1682a2d3c2be"/></dir></dir><dir name="Trait"><file name="PaymentMethod.php" hash="011368d279df99ebceca820991bf5f19"/></dir><dir name="controllers"><file name="WebhookController.php" hash="d4886b956fe54d7ae8a38b3be22897d4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="19f4eb5c16d561805f7b017186e2140b"/><file name="config.xml" hash="6c685aa8e5778b27ad05636545fda7d1"/><file name="system.xml" hash="9197b8f7ebf4b46593628840dddbbcdb"/></dir><dir name="sql"><dir name="vindi_subscription_setup"><file name="install-1.0.0.php" hash="cc7722665a2f587d8bf8310a94503353"/><file name="upgrade-1.0.0-1.0.1.php" hash="b4f107c231dd4cdb9e950a1c98c35a3d"/><file name="upgrade-1.0.1-1.0.2.php" hash="a018618fe25d0b3c45d1137a9b07aa7d"/><file name="upgrade-1.0.4-1.0.5.php" hash="acd0ba386942f42bad1ef792e8ac7aa1"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Vindi_Subscription.xml" hash="64a2addef728637da8dcd80a2b3c3415"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="vindi_subscription"><dir name="payment"><dir name="form"><file name="bankslip.phtml" hash="df328f9149c101a6ba5fada0bbca9ef4"/><file name="cc.phtml" hash="07d522a86a3cb64c8d912fd4d431f142"/></dir></dir></dir></dir><dir name="layout"><file name="vindi_subscription.xml" hash="f6aea64fedba97321b653f3ddc83ab11"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="vindi_subscription"><dir name="payment"><dir name="form"><file name="bankslip.phtml" hash="df328f9149c101a6ba5fada0bbca9ef4"/><file name="cc.phtml" hash="3f2cc2ce886f9488a456b04e2c3a4c96"/></dir></dir></dir></dir><dir name="layout"><file name="vindi_subscription.xml" hash="ab06d89e538b954ce956f5a6674f83c0"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="vindi_subscription"><dir name="css"><file name="vindi_subscription.css" hash="ac7c5eab0913804e1cb90d5e9474e6a0"/></dir><dir name="js"><file name="vindi_subscription.js" hash="7d33f5ced68caf2fbcc3147f32d5c8fb"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.5.19</min><max>7.0.1</max></php></required></dependencies>
18
  </package>
skin/adminhtml/base/default/vindi_subscription/css/vindi_subscription.css ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .payment-companies {
2
+ margin: 10px 0;
3
+ text-align: center;
4
+ }
5
+
6
+ .payment-companies img {
7
+ width: 50px;
8
+ display: inline-block;
9
+ }
10
+
11
+ .block-choice {
12
+ margin: 10px auto;
13
+ }
14
+
15
+ .block-payment-bankslip, .block-choice-saved-cc {
16
+ font-weight: bold;
17
+ background-color: #eee;
18
+ padding: 10px;
19
+ border: 1px solid #ccc;
20
+ }
21
+
22
+ .block-choice-saved-cc {
23
+ position: relative;
24
+ overflow: hidden;
25
+ }
26
+
27
+ .block-choice-saved-cc img {
28
+ width: 50px;
29
+ margin: 5px 0;
30
+ position: absolute;
31
+ }
32
+
33
+ .block-choice-saved-cc .block-choice-saved-cc-details {
34
+ margin-left: 60px;
35
+ }
36
+
37
+ .block-choice-saved-cc-holder-name {
38
+ overflow: hidden;
39
+ text-overflow: ellipsis;
40
+ }
41
+
42
+ .payment-choice {
43
+ margin: 16px 0 !important;
44
+ background-color: inherit;
45
+ }
46
+
47
+ .label-choice {
48
+ font-weight: normal;
49
+ font-size: 1.1em;
50
+ }
51
+
52
+ .text-upper {
53
+ font-size: 0.8em;
54
+ text-transform: uppercase;
55
+ font-weight: normal;
56
+ }
skin/adminhtml/base/default/vindi_subscription/js/vindi_subscription.js ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ VindiSubscriptionCreditCard = Class.create();
2
+ VindiSubscriptionCreditCard.prototype = {
3
+ initialize: function (config) {
4
+ var self = this;
5
+
6
+ self.paymentChoiceSavedCc = $$(config.paymentChoiceSavedCcSelector).first();
7
+ self.paymentChoiceNewCc = $$(config.paymentChoiceNewCcSelector).first();
8
+ self.blockChoiceSavedCc = $$(config.blockChoiceSavedCcSelector).first();
9
+ self.blockChoiceNewCc = $$(config.blockChoiceNewCcSelector).first();
10
+
11
+ self.initObservers();
12
+ },
13
+
14
+ initObservers: function () {
15
+ var self = this;
16
+
17
+ self.paymentChoiceSavedCc.observe('change', self.onPaymentChoiceSaved.bind(self));
18
+ self.paymentChoiceNewCc.observe('change', self.onPaymentChoiceNew.bind(self));
19
+ },
20
+
21
+ onPaymentChoiceSaved: function () {
22
+ var self = this;
23
+
24
+ self.togglePaymentChoices(self.blockChoiceSavedCc, self.blockChoiceNewCc);
25
+ },
26
+
27
+ onPaymentChoiceNew: function () {
28
+ var self = this;
29
+
30
+ self.togglePaymentChoices(self.blockChoiceNewCc, self.blockChoiceSavedCc);
31
+ },
32
+
33
+ /*
34
+ ======================================================
35
+ --------------------SHOW/HIDE functions---------------
36
+ ======================================================
37
+ */
38
+ togglePaymentChoices: function (hide, show) {
39
+ var self = this;
40
+
41
+ self.hideContainer(hide);
42
+ self.showContainer(show);
43
+ },
44
+
45
+ showContainer: function (container) {
46
+ var self = this;
47
+
48
+ container.setStyle({'display': ''});
49
+ var newHeight = self.getElementHeight(container);
50
+ this.applyEffect(container, newHeight, 0.5, function () {
51
+ container.setStyle({'height': ''});
52
+ var requiredElems = container.querySelectorAll('.not-required-entry');
53
+ for (var i in requiredElems) {
54
+ if (!requiredElems.hasOwnProperty(i)) continue;
55
+
56
+ requiredElems[i].classList.remove('not-required-entry');
57
+ requiredElems[i].classList.add('required-entry');
58
+ }
59
+ });
60
+ },
61
+
62
+ hideContainer: function (container) {
63
+ var self = this;
64
+
65
+ self.applyEffect(container, 0, 0.5, function () {
66
+ container.setStyle({'display': 'none'});
67
+ var requiredElems = container.querySelectorAll('.required-entry');
68
+ for (var i in requiredElems) {
69
+ if (!requiredElems.hasOwnProperty(i)) continue;
70
+
71
+ requiredElems[i].classList.remove('required-entry');
72
+ requiredElems[i].classList.add('not-required-entry');
73
+ }
74
+ });
75
+ },
76
+
77
+ applyEffect: function (element, newHeight, duration, afterFinish) {
78
+ if (element.effect) {
79
+ element.effect.cancel();
80
+ }
81
+ var afterFinishFn = afterFinish || Prototype.emptyFunction;
82
+ element.effect = new Effect.Morph(element, {
83
+ style: {
84
+ 'height': newHeight + 'px'
85
+ },
86
+ duration: duration,
87
+ afterFinish: function () {
88
+ delete element.effect;
89
+ afterFinishFn();
90
+ }
91
+ });
92
+ },
93
+
94
+ getElementHeight: function (element) {
95
+ element = $(element);
96
+ var origDimensions = element.getDimensions();
97
+ var origHeight = element.style.height;
98
+ var origDisplay = element.style.display;
99
+ var origVisibility = element.style.visibility;
100
+ element.setStyle({
101
+ 'height': '',
102
+ 'display': '',
103
+ 'visibility': 'hidden'
104
+ });
105
+ var height = Math.max(element.getDimensions()['height'], origDimensions['height']);
106
+ element.setStyle({
107
+ 'height': origHeight,
108
+ 'display': origDisplay,
109
+ 'visibility': origVisibility
110
+ });
111
+ return height;
112
+ }
113
+ };
skin/frontend/base/default/vindi_subscription/css/vindi_subscription.css CHANGED
File without changes
skin/frontend/base/default/vindi_subscription/js/vindi_subscription.js CHANGED
File without changes