mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
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