v8.1 (#47)
- Update to .NET 7 - Update database access to use data source vs. connection - Allow e-mail server address to be configurable - Support Docker hosting
This commit was merged in pull request #47.
This commit is contained in:
@@ -304,14 +304,14 @@ let private contentSection viewInfo pgTitle (content : XmlNode) = [
|
||||
| Some onLoad ->
|
||||
let doCall = if onLoad.EndsWith ")" then "" else "()"
|
||||
script [] [
|
||||
rawText $"""
|
||||
rawText $"
|
||||
window.doOnLoad = () => {{
|
||||
if (window.PT) {{
|
||||
{onLoad}{doCall}
|
||||
delete window.doOnLoad
|
||||
}} else {{ setTimeout(window.doOnLoad, 500) }}
|
||||
}}
|
||||
window.doOnLoad()"""
|
||||
window.doOnLoad()"
|
||||
]
|
||||
| None -> ()
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user