diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-04-02 23:48:33 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-04-02 23:48:33 +0200 |
| commit | 20fc5036f8de9109b21e901d04f0dac651e40fc6 (patch) | |
| tree | 3a70ae9287ac696d75f02cf489a08945725799d5 /frontend/app/views/tile/forms/tile.form.hyperlink.js | |
| parent | 6e5132d735d4a5508e8f20534a87f125d3c23ee5 (diff) | |
add jakrawals countr and sync script
Diffstat (limited to 'frontend/app/views/tile/forms/tile.form.hyperlink.js')
| -rw-r--r-- | frontend/app/views/tile/forms/tile.form.hyperlink.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend/app/views/tile/forms/tile.form.hyperlink.js b/frontend/app/views/tile/forms/tile.form.hyperlink.js index 4d3e0b5..b9fb038 100644 --- a/frontend/app/views/tile/forms/tile.form.hyperlink.js +++ b/frontend/app/views/tile/forms/tile.form.hyperlink.js @@ -11,6 +11,9 @@ import { NO_POPUP, OPEN_POPUP_LINK, CLOSE_POPUP_LINK } from './tile.constants' +import { dispatch } from 'app/store' +import { toggleCursorList } from 'app/views/page/page.actions' + export default function TileHyperlinkForm({ tile, pageList, popupList, cursors, parent }) { const isExternalLink = tile.target_page_id === EXTERNAL_LINK // const isPopupLink = ( @@ -43,7 +46,7 @@ export default function TileHyperlinkForm({ tile, pageList, popupList, cursors, /> </div> {cursor && ( - <img src={cursor.url} className="sampleCursor" /> + <img src={cursor.url} className="sampleCursor" onClick={() => toggleCursorList(true)(dispatch)} /> )} {isExternalLink && ( <div> |
