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:
-rw-r--r--src/components/Task.vue2
-rw-r--r--src/components/TheCollections/Calendar.vue2
-rw-r--r--src/components/TheCollections/General.vue2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Task.vue b/src/components/Task.vue
index 86ba6cbb..391b0684 100644
--- a/src/components/Task.vue
+++ b/src/components/Task.vue
@@ -103,7 +103,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
v-click-outside="($event) => cancelCreation($event)"
class="task-item add-subtask"
>
- <form name="addTaskForm" @submit="addTask">
+ <form name="addTaskForm" @submit.prevent="addTask">
<input v-model="newTaskName"
v-focus
:placeholder="subtasksCreationPlaceholder"
diff --git a/src/components/TheCollections/Calendar.vue b/src/components/TheCollections/Calendar.vue
index 700591d4..6984938a 100644
--- a/src/components/TheCollections/Calendar.vue
+++ b/src/components/TheCollections/Calendar.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 id="target"
v-model="newTaskName"
:placeholder="inputString"
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"