Merge pull request #732 from mailpoet/import_export_select2_fix
Import/export dependency injection of Select2 [MAILPOET-723]
This commit is contained in:
@@ -10,7 +10,8 @@ define(
|
||||
_,
|
||||
jQuery,
|
||||
MailPoet,
|
||||
Handlebars
|
||||
Handlebars,
|
||||
select2
|
||||
) {
|
||||
if (!jQuery("#mailpoet_subscribers_export").length) {
|
||||
return;
|
||||
@@ -97,7 +98,7 @@ define(
|
||||
|
||||
// set confirmed subscribers export option to false
|
||||
exportData.exportConfirmedOption = false;
|
||||
|
||||
|
||||
renderSegmentsAndFields(subscriberFieldsContainerElement, subscriberFieldsSelect2);
|
||||
renderSegmentsAndFields(segmentsContainerElement, segments);
|
||||
|
||||
|
@@ -18,7 +18,8 @@ define(
|
||||
Handlebars,
|
||||
Papa,
|
||||
AsyncQueue,
|
||||
Moment
|
||||
Moment,
|
||||
select2
|
||||
) {
|
||||
if (!jQuery('#mailpoet_subscribers_import').length) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user