Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

PUBLIC / surfer-okd

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 34e99d76 authored 9 years ago by Johannes Zellner's avatar Johannes Zellner
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

Stop event processing for upload button

This prevents changing the url
1 parent 6188849c
Hide whitespace changes
Inline Side-by-side
Showing with 1 additions and 1 deletions
  • app/index.html
app/index.html
View file @34e99d7
......@@ -109,7 +109,7 @@
<center>
<form id="fileUploadForm">
<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>
</center>
<br/>
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
  • Please register or sign in to post a comment