Commit e7fa9340 authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent 47bcfcb8
...@@ -21,7 +21,7 @@ if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->ex ...@@ -21,7 +21,7 @@ if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->ex
'action' => '/blog/blog-bid/add', 'action' => '/blog/blog-bid/add',
'enableClientValidation' => false, 'enableClientValidation' => false,
'options' => [ 'options' => [
'class' => 'subsc_blog_form bids-form', 'class' => 'blog-bid-form',
'data-title' => $title, 'data-title' => $title,
'data-form' => 'Подпись на обновления в блоге' 'data-form' => 'Подпись на обновления в блоге'
], ],
...@@ -53,7 +53,7 @@ if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->ex ...@@ -53,7 +53,7 @@ if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->ex
</div> </div>
<script type='text/javascript'> <script type='text/javascript'>
$('form.bids-form').on('beforeSubmit', function(e) { $('form.blog-bid-form').on('beforeSubmit', function(e) {
var form = $(this), xhr = new XMLHttpRequest, filebool = false, file, data = new FormData(); var form = $(this), xhr = new XMLHttpRequest, filebool = false, file, data = new FormData();
form.find('input, textarea').each(function(){ form.find('input, textarea').each(function(){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment