Skip to content

Commit

Permalink
Fixes accidentally removed javascript. (SEA-1355 and SEA-1348)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillkuettel committed Jul 2, 2024
1 parent 38f1a74 commit 4651e6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/privatim/layouts/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
from pyramid.decorator import reify
from pyramid.renderers import get_renderer
from privatim.static import (bootstrap_css, bootstrap_js, tom_select_css,
comments_css, profile_css, sortable_custom)
comments_css, profile_css, sortable_custom,
custom_js)
from pytz import timezone
import re
from datetime import date, datetime
Expand Down Expand Up @@ -41,6 +42,7 @@ def __init__(self, context: Any, request: 'IRequest') -> None:
tom_select_css.need()
comments_css.need()
sortable_custom.need()
custom_js.need()
profile_css.need()

def show_steps(self) -> bool:
Expand Down
1 change: 1 addition & 0 deletions src/privatim/static/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def get_default_profile_pic_data() -> tuple[str, bytes]:
sortable_custom = js('custom/sortable_custom.js', depends=[jquery],
renderer=render_js_module)

custom_js = js('custom/custom.js')

tom_select_css = css('tom-select.min.css')
tom_select = js('tom-select.complete.min.js')
Expand Down

0 comments on commit 4651e6a

Please sign in to comment.