From f2233c3f31066e10ab6d4ca6b67868f6e8244ad5 Mon Sep 17 00:00:00 2001 From: Victor Demin Date: Sun, 14 Apr 2019 17:33:03 +0400 Subject: [PATCH] Fix StripeForm fix for https://github.com/yiisoft/yii2/commit/9d03667b40e8727e50f692ee6164d8a201130ac5 --- StripeForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StripeForm.php b/StripeForm.php index f38cbb3..0835817 100644 --- a/StripeForm.php +++ b/StripeForm.php @@ -166,12 +166,12 @@ public function init() { * Will show the Stripe's simple form modal */ public function run() { - parent::run(); - $this->registerFormScripts(); if ($this->applyJqueryPaymentFormat || $this->applyJqueryPaymentValidation) { $this->registerJqueryPaymentScripts(); } + + return parent::run(); } /**