Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@mailbox.org>2019-01-25 23:56:31 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2019-01-25 23:56:31 +0300
commit4d4b8e213b41e5038ff719de18c8241d7683395f (patch)
treea387d3ff184794552139cc321f0641b32b1a51ad /src/components/TheCollections/General.vue
parent8918f90bd8eed99096ca6f39075460264c95ef62 (diff)
Prevent page from reloading when adding a new task in Chrome
Diffstat (limited to 'src/components/TheCollections/General.vue')
-rw-r--r--src/components/TheCollections/General.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/TheCollections/General.vue b/src/components/TheCollections/General.vue
index 3270f995..2125144d 100644
--- a/src/components/TheCollections/General.vue
+++ b/src/components/TheCollections/General.vue
@@ -26,7 +26,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
id="add-task"
class="add-task"
>
- <form name="addTaskForm" @submit="addTask">
+ <form name="addTaskForm" @submit.prevent="addTask">
<input v-model="newTaskName"
:placeholder="inputString"
:disabled="isAddingTask"