Commit 367d8fcf authored by Elias Englmeier's avatar Elias Englmeier
Browse files

increased max upload siz to 10MB

parent 0272b118
......@@ -68,7 +68,6 @@ public class ProjectOverviewBean implements Serializable {
private ProjectLocalServiceTracker projectLocalServiceTracker;
private LayoutLocalServiceTracker layoutLocalServiceTracker;
private CategoryLocalServiceTracker categoryLocalSerivceTracker;
//private Map<Long,Project> allProjects;
private List<Project> allProjects;
private String newProjectTitle;
private String newProjectDescription;
......@@ -301,7 +300,7 @@ public class ProjectOverviewBean implements Serializable {
//////////////////////////////////////////////////////////////////////////////////////////
///////////////////// DUPLICATE CODE FROM IDEAINPUTBEAN //////////////////////////////////
///////////////////// DUPLICATE CODE FROM IDEAINPUTBEAN FOR FILE UPLOADING //////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
private FileEntry saveFile(UploadedFile file) throws PortalException, IOException{
......
......@@ -94,7 +94,7 @@
</div>
<div class="w3-left-align w3-padding-small"><p>Select a title picture for your project</p></div>
<p:fileUpload id="fileUpload" fileUploadListener="#{projectOverviewBean.upload}" mode="advanced" dragDropSupport="true"
sizeLimit="200000" allowTypes="/(\.|\/)(gif|jpe?g|png)$/" fileLimit="1"/>
sizeLimit="10000000" allowTypes="/(\.|\/)(gif|jpe?g|png)$/" fileLimit="1"/>
<footer class="w3-container w3-grey">
<div class="w3-bar">
......
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