Don't exit after creating a ZIP so caller can do cleanup, if needed.

This commit is contained in:
Nathan Gray 2014-07-03 16:51:21 +00:00
parent b7baff6187
commit f2dec7deac
2 changed files with 4 additions and 3 deletions

View File

@ -614,7 +614,8 @@ class filemanager_ui
return lang("Error while creating directory."); return lang("Error while creating directory.");
case 'saveaszip': case 'saveaszip':
return egw_vfs::download_zip($selected); egw_vfs::download_zip($selected);
common::egw_exit();
default: default:
list($action, $settings) = explode('_', $action, 2); list($action, $settings) = explode('_', $action, 2);

View File

@ -1496,7 +1496,7 @@ class egw_vfs extends vfs_stream_wrapper
unlink($temp_file); unlink($temp_file);
} }
common::egw_exit(); // Make sure to exit after, if you don't want to add to the ZIP
} }
/** /**