Add loading message when changing dictionaries
This commit is contained in:
parent
3d94a7c5ec
commit
d6bf2bc297
|
@ -18,6 +18,7 @@ export function createNewDictionary() {
|
||||||
export function changeDictionary(dictionary) {
|
export function changeDictionary(dictionary) {
|
||||||
dictionary = typeof dictionary.target !== 'undefined' ? dictionary.target.value : dictionary;
|
dictionary = typeof dictionary.target !== 'undefined' ? dictionary.target.value : dictionary;
|
||||||
if (dictionary !== window.currentDictionary.externalID) {
|
if (dictionary !== window.currentDictionary.externalID) {
|
||||||
|
addMessage('Loading Dictionary...');
|
||||||
request({
|
request({
|
||||||
action: 'change-dictionary',
|
action: 'change-dictionary',
|
||||||
dictionary,
|
dictionary,
|
||||||
|
|
Loading…
Reference in New Issue