Allow setting of scroll area explicitly

Defaults to scroll area being the parent element
of the sticky element, if not set.
This commit is contained in:
Tom Byers
2019-02-14 13:40:09 +00:00
parent 03c1f27947
commit d0aee7887b
2 changed files with 5 additions and 1 deletions

View File

@@ -74,6 +74,7 @@
{% if current_user.has_permissions('manage_templates') %}
{% call form_wrapper(
class='sticky-scroll-area',
module='template-folder-form',
data_kwargs={'prev-state': templates_and_folders_form.op or None}
) %}