-
-
= \Yii::t(
- 'app',
- 'info_power_ses_auth'
- ) ?>
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/frontend/web/js/script.js b/frontend/web/js/script.js
index 3c12a95..a91de16 100644
--- a/frontend/web/js/script.js
+++ b/frontend/web/js/script.js
@@ -6,7 +6,7 @@ $(
*/
$(document)
.on(
- 'beforeSubmit', '#feedback-form', function(e) {
+ 'beforeSubmit', '#calculate-form, #feedback-form', function(e) {
var f = this;
var form = $(this);
var formData = form.serialize();
@@ -17,7 +17,7 @@ $(
data: formData,
success: function(data) {
f.reset();
- $('#feedback-modal')
+ $('#feedback-modal,#calculate-modal')
.modal('hide');
form.data('yiiActiveForm').validated = false;
$('#success-modal')
@@ -32,7 +32,7 @@ $(
}
)
.on(
- 'submit', '#feedback-form', function(e) {
+ 'submit', '#calculate-form, #feedback-form', function(e) {
e.preventDefault();
}
);
--
libgit2 0.21.4