rewrote longpolling, trying to avoid duplication
does not work though. stupid JS
This commit is contained in:
parent
d1358cc96f
commit
502bc5d5f8
3 changed files with 51 additions and 52 deletions
|
@ -146,6 +146,7 @@ autoUpdate :: Text -> Route WebApp -> Int -> Int -> Widget
|
|||
autoUpdate ident gethtml ms_delay ms_startdelay = do
|
||||
let delay = show ms_delay
|
||||
let startdelay = show ms_startdelay
|
||||
addScript $ StaticR longpolling_js
|
||||
$(widgetFile "longpolling")
|
||||
|
||||
{- A display of currently running and queued transfers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue