mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Reload import popup if user wants to create new definition to avoid a re-submit with the old definition when the new definition wizard finishes
This commit is contained in:
parent
cb824beff3
commit
5ef7306342
@ -333,7 +333,14 @@
|
||||
// Jump to name step
|
||||
'step' => 'wizard_step21'
|
||||
));
|
||||
$add_link = "javascript:egw_openWindowCentered2('$add_link','_blank',500,500,'yes')";
|
||||
$add_link = "
|
||||
javascript:this.window.location = '" . egw::link('/index.php', array(
|
||||
'menuaction' => 'importexport.importexport_import_ui.import_dialog',
|
||||
// Don't set appname, or user won't be able to select & see their new definition
|
||||
//'appname' => $definition->application,
|
||||
)) . "';
|
||||
egw_openWindowCentered2('$add_link','_blank',500,500,'yes');
|
||||
";
|
||||
$actions[] = lang('Create a <a href="%1">new definition</a> for this file', $add_link);
|
||||
|
||||
// Edit selected definition, if allowed
|
||||
|
Loading…
Reference in New Issue
Block a user