Project

General

Profile

Actions

Bug #52616

closed

View icon return blank page in Firefox in view module

Added by Eric Chavaillaz over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2013-10-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

Updated by Stefan Neufeind over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF