From 2f63eeb2d1d80090f198c4499c0d58210ead0b24 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 14 Nov 2016 21:14:22 -0800 Subject: [PATCH] WIP --- ext/bg/js/options-form.js | 4 +++- ext/bg/options.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js index d8835297..fb81e83a 100644 --- a/ext/bg/js/options-form.js +++ b/ext/bg/js/options-form.js @@ -183,7 +183,9 @@ function populateDictionaries(opts) { }); } -function onDictionaryPurge() { +function onDictionaryPurge(e) { + e.preventDefault(); + showDictionaryError(null); showDictionarySpinner(true); diff --git a/ext/bg/options.html b/ext/bg/options.html index dd43f097..eec0bc1b 100644 --- a/ext/bg/options.html +++ b/ext/bg/options.html @@ -73,7 +73,7 @@

Yomichan can import both bundled and custom (see the Yomichan Import page for details) dictionaries. Although it is also possible to delete unneeded dictionaries, this operation is extremely slow and it is often - easier to disable them or simply purge the database. Please make sure to + easier to disable them or simply purge the database. Please make sure to wait for import and delete operations to complete before closing this page.