diff --git a/flow/src/org/labkey/flow/controllers/executescript/importAnalysis.jsp b/flow/src/org/labkey/flow/controllers/executescript/importAnalysis.jsp index 956f5c52f..3a4a171e6 100644 --- a/flow/src/org/labkey/flow/controllers/executescript/importAnalysis.jsp +++ b/flow/src/org/labkey/flow/controllers/executescript/importAnalysis.jsp @@ -44,6 +44,10 @@ ImportAnalysisForm form = (ImportAnalysisForm)getModelBean(); Container container = getContainer(); ActionURL cancelUrl = urlProvider(ProjectUrls.class).getStartURL(container); + // we are only posting files for the first step of the wizard + String enctype = form.getStep() > AnalysisScriptController.ImportAnalysisStep.SELECT_ANALYSIS.getNumber() + ? "application/x-www-form-urlencoded" + : "multipart/form-data"; %>