Merge pull request #966 from mailpoet/mp2tomp3migration

Settings migration from MP2 to MP3
This commit is contained in:
Tautvidas Sipavičius
2017-07-11 12:43:19 +03:00
committed by GitHub
6 changed files with 424 additions and 17 deletions

View File

@@ -63,6 +63,8 @@ define('mp2migrator', ['mailpoet', 'jquery'], function(MailPoet, jQuery) {
jQuery('#progresslabel').html(progress + '%');
if(Number(result.current) !== 0) {
jQuery('#skip-import').hide();
jQuery('#progressbar').show();
jQuery('#logger-container').show();
}
if(MailPoet.MP2Migrator.is_logging) {
MailPoet.MP2Migrator.updateProgressbar_timeout = setTimeout(MailPoet.MP2Migrator.updateProgressbar, 1000);