forked from extern/egroupware
Refresh opening window after import
This commit is contained in:
parent
2e9866bab9
commit
89f46c6a3b
@ -86,6 +86,9 @@
|
|||||||
$count = $plugin->import($file, $definition_obj);
|
$count = $plugin->import($file, $definition_obj);
|
||||||
|
|
||||||
$this->message = lang('%1 records processed', $count);
|
$this->message = lang('%1 records processed', $count);
|
||||||
|
|
||||||
|
// Refresh opening window
|
||||||
|
if(!$content['dry-run']) $GLOBALS['egw']->js->set_onload("window.opener.egw_refresh('{$this->message}','$appname');");
|
||||||
$total_processed = 0;
|
$total_processed = 0;
|
||||||
foreach($plugin->get_results() as $action => $a_count) {
|
foreach($plugin->get_results() as $action => $a_count) {
|
||||||
$this->message .= "\n" . lang($action) . ": $a_count";
|
$this->message .= "\n" . lang($action) . ": $a_count";
|
||||||
|
Loading…
Reference in New Issue
Block a user