Merge pull request #633 from ateuber/bugfix-mosaico-segments
Bugfix: include list segment when saving in Mosaico
This commit is contained in:
commit
62e63fbb80
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@
|
||||||
$.post('/editorapi/update?type={{type}}&editor={{resource.editorName}}', {
|
$.post('/editorapi/update?type={{type}}&editor={{resource.editorName}}', {
|
||||||
id: {{resource.id}},
|
id: {{resource.id}},
|
||||||
name: '{{resource.name}}',
|
name: '{{resource.name}}',
|
||||||
{{#if resource.list}} list: {{resource.list}}, {{/if}}
|
{{#if resource.list}} list: {{resource.list}}+':'+{{resource.segment}}, {{/if}}
|
||||||
html: html,
|
html: html,
|
||||||
editorData: JSON.stringify({
|
editorData: JSON.stringify({
|
||||||
template: '{{resource.editorData.template}}',
|
template: '{{resource.editorData.template}}',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue