Skip to content
Snippets Groups Projects
Commit db088276 authored by Mads Lundegaard's avatar Mads Lundegaard Committed by Eirik Steira
Browse files

Bugfix on upload

parent 489aba70
No related branches found
No related tags found
2 merge requests!104Weekly merge to Master,!75Single photo upload
......@@ -133,6 +133,8 @@ public class UploadedSingle implements Initializable {
*/
public void uploadSingle(ActionEvent actionEvent) throws IOException {
imageService = new ImageService();
applicationState = new ApplicationState();
List<File> list = App.ex.getUploadedFiles();
File fil = list.get(0);
imageService.createImage(applicationState.getCurrentUser(), fil);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment