Commit 59575d75 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

tree: fix closing of filetype popup (with reactix)

parent 9cc53eb9
......@@ -496,7 +496,7 @@ fileTypeView d s@(NTree (LNode {id, droppedFile: Just (DroppedFile {contents, fi
[ H.h5 {} [H.text "Choose file type"] ]
, H.div {className: "col-md-2"}
[ H.a {className: "btn text-danger glyphitem glyphicon glyphicon-remove"
--, onClick $ \_ -> d $ PrepareUploadFile nid contents
, onClick: mkEffectFn1 $ \_ -> d $ PrepareUploadFile id contents
, title: "Close"} []
]
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment