Issue Feature Rejected

#23589Popup wizard doesn't close when clicking "save & close"

Soren Malling 09/24/10, 09:13 updated 07/16/15, 19:20

Description

Using below configuration in TCA.

The popup window doesn’t close, but shows the “parent element” that “popped up” the window, since it’s set in the returnUrl and you can’t overwrite it.

A solution might be to overwrite the returnUrl, would this be accepted as a solution?

‘categories’ => array(
‘exclude’ => 0,
‘label’ => ‘LLL:EXT:mediadatabase/Resources/Private/Language/locallang_db.xml:tx_mediadatabase_domain_model_media.categories’,
‘config’ => array(
‘type’ => ‘select’,
‘foreign_table’ => ‘tx_mediadatabase_domain_model_category’,
‘size’ => 10,
‘maxitems’ => 20,
‘wizards’ => array(
‘_PADDING’ => 2,
‘_VERTICAL’ => 1,
‘add’ => Array(
‘type’ => ‘popup’,
‘title’ => ‘LLL:EXT:tt_news/locallang_tca.xml:tt_news_cat.createNewParentCategory’,
‘icon’ => ‘add.gif’,
‘params’ => Array(
‘table’=>‘tx_mediadatabase_domain_model_category’,
‘pid’ => ‘###CURRENT_PID###’,
‘setValue’ => ‘append’,
),
‘script’ => ‘wizard_add.php’,
‘JSopenParams’ => ‘height=280,width=465,status=0,menubar=0,scrollbars=1’,
),
),
),
),

(issue imported from #M15782)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.