mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
Confirm batch tag abort
This commit is contained in:
parent
d23aaca5c8
commit
4e7d1988ee
1 changed files with 5 additions and 3 deletions
|
@ -42,10 +42,12 @@ function activate() {
|
|||
|
||||
function reset() {
|
||||
|
||||
store.remove(currentTagStorage);
|
||||
store.remove(imageQueueStorage);
|
||||
if (window.confirm('Are you sure you want to abort batch tagging?')) {
|
||||
store.remove(currentTagStorage);
|
||||
store.remove(imageQueueStorage);
|
||||
|
||||
toggleActiveState();
|
||||
toggleActiveState();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue