Merge pull request #2547 from mike-esokia/PHRAS-1936_video_editor_chapters

PHRAS-1936 save overlapChapters in video editor in preferences
This commit is contained in:
Nicolas Maillat
2018-04-13 11:46:09 +02:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

View File

@@ -10,6 +10,8 @@
{% endfor %}
{% endif %}
{% set overlapChapters = app['settings'].getUserSetting(app.getAuthenticatedUser(), 'overlapChapters') %}
<div id='prod-tool-box' class="PNB10 video-edit">
{# jquery Tabs #}
@@ -204,7 +206,10 @@
{% endif %}
}{% if not loop.last %},{% endif %}
{% endfor %}
]
],
preferences: {
overlapChapters: {% if overlapChapters != NULL %}{{ overlapChapters }}{% else %}0{% endif %},
}
};
</script>