Commit a4f52040 authored by SusanRatiLane's avatar SusanRatiLane Committed by Jeffrey Schiller

Restore ability to export multiple selected projects

parent d36e9234
......@@ -17,8 +17,10 @@ import com.google.appinventor.client.utils.Downloader;
import com.google.appinventor.shared.rpc.ServerLayout;
import com.google.gwt.user.client.Command;
import java.util.List;
import java.util.logging.Logger;
public class ExportProjectAction implements Command {
private static final Logger LOG = Logger.getLogger(ExportProjectAction.class.getName());
@Override
public void execute() {
if (Ode.getInstance().getCurrentView() == Ode.PROJECTS) {
......@@ -60,7 +62,6 @@ public class ExportProjectAction implements Command {
selectedProjPath += project.getProjectId() + "-";
}
Downloader.getInstance().download(ServerLayout.DOWNLOAD_SERVLET_BASE +
ServerLayout.DOWNLOAD_SELECTED_PROJECTS_SOURCE + "/" + selectedProjPath);
Downloader.getInstance().download(selectedProjPath);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment