Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 601fc7f4
authored
Jul 03, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: update JavaScript resource loading logic to handle HTTP sources
1 parent
36939eb3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
opensipkd/base/views/templates/base5.pt
opensipkd/base/views/templates/base5.pt
View file @
601fc7f
...
...
@@ -263,8 +263,9 @@
<!-- LOOP ON JS RESOURCE -->
<tal:loop
tal:repeat=
"js_resource js"
>
<!--?<script src="${home}${request.static_path(js_resource)}" tal:condition="js_resource[:4]!='http'">A</script>-->
<!--?<script src="${js_resource}" tal:condition="js_resource[:4]=='http'">B</script>-->
<script
src=
"${request.static_url(js_resource)}"
tal:condition=
"js_resource[:4]!='http'"
></script>
-->
<script
src=
"${js_resource}"
tal:condition=
"js_resource[:4]=='http'"
></script>
</tal:loop>
<metal:js
define-slot=
"js_files"
></metal:js>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment