diff --git a/src/components/ConfirmModal.vue b/src/components/ConfirmModal.vue
new file mode 100644
index 00000000..d35360b7
--- /dev/null
+++ b/src/components/ConfirmModal.vue
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
diff --git a/src/components/PlaylistsPage.vue b/src/components/PlaylistsPage.vue
index a785cc12..99f0280b 100644
--- a/src/components/PlaylistsPage.vue
+++ b/src/components/PlaylistsPage.vue
@@ -40,7 +40,13 @@
/>
-
+
+
@@ -76,11 +82,14 @@
diff --git a/src/components/PreferencesPage.vue b/src/components/PreferencesPage.vue
index f8dbab91..49c86f35 100644
--- a/src/components/PreferencesPage.vue
+++ b/src/components/PreferencesPage.vue
@@ -335,14 +335,21 @@
-
+
+
diff --git a/src/components/RegisterPage.vue b/src/components/RegisterPage.vue
index ee95ebc6..6ce00a46 100644
--- a/src/components/RegisterPage.vue
+++ b/src/components/RegisterPage.vue
@@ -30,16 +30,29 @@
+
diff --git a/src/components/VideoItem.vue b/src/components/VideoItem.vue
index 8eca2d33..918ebb3f 100644
--- a/src/components/VideoItem.vue
+++ b/src/components/VideoItem.vue
@@ -114,10 +114,16 @@
v-if="admin"
:title="$t('actions.remove_from_playlist')"
ref="removeButton"
- @click="removeVideo(item.url.substr(-11))"
+ @click="showConfirmRemove = true"
>
+
@@ -132,6 +138,7 @@
diff --git a/src/locales/en.json b/src/locales/en.json
index e4dba42c..77962fbc 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -135,7 +135,9 @@
"show_more": "Show more",
"show_less": "Show less",
"create_group": "Create group",
- "group_name": "Group name"
+ "group_name": "Group name",
+ "cancel": "Cancel",
+ "confirm": "Confirm"
},
"comment": {
"pinned_by": "Pinned by {author}",