Permalink
Browse files

lazy mass_mailing option

  • Loading branch information...
Gorash committed Feb 11, 2019
1 parent 8f9876b commit 2629fd4a428e40de9dcdacfe659da90067ec35ae
@@ -12,6 +12,9 @@ var _t = core._t;

var MassMailingFieldHtml = FieldHtml.extend({
xmlDependencies: (FieldHtml.prototype.xmlDependencies || []).concat(["/mass_mailing/static/src/xml/mass_mailing.xml"]),
jsLibs: [
'/mass_mailing/static/src/js/mass_mailing_snippets.js',
],

custom_events: _.extend({}, FieldHtml.prototype.custom_events, {
snippets_loaded: '_onSnippetsLoaded',
@@ -7,7 +7,6 @@

<script type="text/javascript" src="/mass_mailing/static/src/js/mass_mailing.js"></script>
<script type="text/javascript" src="/mass_mailing/static/src/js/mass_mailing_widget.js"></script>
<script type="text/javascript" src="/mass_mailing/static/src/js/mass_mailing_snippets.js"></script>
</xpath>
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/mass_mailing/static/src/js/mass_mailing_campaign_kanban_record.js"></script>

0 comments on commit 2629fd4

Please sign in to comment.