Skip to content

Commit

Permalink
Merge pull request sendinblue#2 from sendinblue/feature_ImprovementTasks
Browse files Browse the repository at this point in the history
Feature improvement tasks
  • Loading branch information
poojabaghelsendinblue authored Jul 29, 2019
2 parents 81a43b3 + 6714f71 commit 463c155
Show file tree
Hide file tree
Showing 9 changed files with 286 additions and 208 deletions.
7 changes: 4 additions & 3 deletions mailin/js/mailin-front.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ jQuery(document).ready(function(){
{
jQuery('.sib-multi-lists').removeClass('sib_error');
}
if (data.redirect) {
window.location.href = data.redirect;
} else if (data.status === 'success' || data.status === 'update') {
if (data.status === 'success' || data.status === 'update') {
var cdata = '<p class="sib-alert-message sib-alert-message-success ">' + data.msg.successMsg + '</p>';
form.find('.sib_msg_disp').html(cdata).show();
} else if (data.status === 'failure') {
Expand All @@ -180,6 +178,9 @@ jQuery(document).ready(function(){
form.find('.sib_msg_disp').html(cdata).show();
}
form[0].reset();
if (data.redirect && (data.status === 'success' || data.status === 'update')) {
window.location.href = data.redirect;
}
var previous_code = form.find('.sib-cflags').data('dial-code');
if ( previous_code )
{
Expand Down
Binary file modified mailin/lang/sib_lang-fr_FR.mo
Binary file not shown.
Loading

0 comments on commit 463c155

Please sign in to comment.