Fix regression introduced in 9048d09bf

This commit is contained in:
Molkobain
2021-07-01 10:55:34 +02:00
parent e6a38a8055
commit 5d1d6d07a6

View File

@@ -710,7 +710,7 @@ var aDictEntries = {$sEntriesAsJson};
// Check if Dict._entries already exists in order to complete, this is for async calls only.
// Note: We should not overload the WebPage::get_dict_file_content() in AjaxPage to put the part below as the same dict file can be consumed either by a regular page or an async page.
if (typeof Dict._entries != "undefined") {
if ((typeof Dict != "undefined") && (typeof Dict._entries != "undefined")) {
$.extend(Dict._entries, aDictEntries);
}
JS;