Bug #52616
closedView icon return blank page in Firefox in view module
100%
Description
Hi,
After clicking the view icon in the view module on Firefox, the page "redirect" to a blank with only a text : "[object Window]"
Thanks
Updated by Eric Chavaillaz over 10 years ago
To resolve this issue, we must call a jQuery function when clicking on the view button.
The function is basic, she must get the href property of the button and then use window.open.
Someting like :
// Add event to view button $('.t3-icon-document-view').parent().on('click', function (event) { window.open($(this).attr('href'), '_blank'); event.preventDefault(); event.stopPropagation(); });
Then we must change the button viewHelper to :
<f:be.buttons.icon uri="{url}" icon="actions-document-view" />
Thanks
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24948
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/24948
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/24948
Updated by Stefan Neufeind over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 661d566a34e00f7ad0c29c467d03af1a7c813dc0.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed