Bugfix: include list segment when saving in Mosaico

This commit is contained in:
Andreas Teuber 2019-07-16 17:46:06 +02:00
parent 9ca4767b4e
commit 0a0eb0db4f

View file

@ -111,7 +111,7 @@
$.post('/editorapi/update?type={{type}}&editor={{resource.editorName}}', {
id: {{resource.id}},
name: '{{resource.name}}',
{{#if resource.list}} list: {{resource.list}}, {{/if}}
{{#if resource.list}} list: {{resource.list}}+':'+{{resource.segment}}, {{/if}}
html: html,
editorData: JSON.stringify({
template: '{{resource.editorData.template}}',