From a4f52040a23b03d7b6a380de704c03653bf5947b Mon Sep 17 00:00:00 2001 From: SusanRatiLane Date: Wed, 6 Sep 2023 16:28:55 -0400 Subject: [PATCH] Restore ability to export multiple selected projects --- .../appinventor/client/actions/ExportProjectAction.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appinventor/appengine/src/com/google/appinventor/client/actions/ExportProjectAction.java b/appinventor/appengine/src/com/google/appinventor/client/actions/ExportProjectAction.java index c92910bf9ac..cf27b895b6c 100644 --- a/appinventor/appengine/src/com/google/appinventor/client/actions/ExportProjectAction.java +++ b/appinventor/appengine/src/com/google/appinventor/client/actions/ExportProjectAction.java @@ -17,8 +17,10 @@ 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 @@ private void exportSelectedProjects(List projects) { selectedProjPath += project.getProjectId() + "-"; } - Downloader.getInstance().download(ServerLayout.DOWNLOAD_SERVLET_BASE + - ServerLayout.DOWNLOAD_SELECTED_PROJECTS_SOURCE + "/" + selectedProjPath); + Downloader.getInstance().download(selectedProjPath); } }