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