factor out onclick javascript
This commit is contained in:
parent
94fcd0cf59
commit
09449792fa
6 changed files with 16 additions and 11 deletions
|
@ -53,7 +53,6 @@ sideBarDisplay = do
|
|||
addalert :: AlertId -> Bool -> Bool -> Text -> Maybe Text -> Text -> Maybe String -> Widget
|
||||
addalert i closable block divclass heading message icon = do
|
||||
let alertid = show i
|
||||
let closealert = CloseAlert i
|
||||
$(widgetFile "sidebar/alert")
|
||||
|
||||
{- Called by client to get a sidebar display.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue