Commit 34e99d76 by Johannes Zellner

Stop event processing for upload button

This prevents changing the url
1 parent 6188849c
Showing with 1 additions and 1 deletions
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<center> <center>
<form id="fileUploadForm"> <form id="fileUploadForm">
<input type="file" v-el:upload style="display: none" id="uploadInput"/> <input type="file" v-el:upload style="display: none" id="uploadInput"/>
<button class="btn btn-primary" v-on:click="upload()" id="uploadButton">Upload</button> <button class="btn btn-primary" v-on:click.stop.prevent="upload()" id="uploadButton">Upload</button>
</form> </form>
</center> </center>
<br/> <br/>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!