Bug fix (regression): use a different endpoint (ajax.document.render.php) for the output of the JS dictionary since we use the JS dictionary also when there is no user logged in (like in the login page).

SVN:trunk[5691]
This commit is contained in:
Denis Flaven
2018-04-18 13:54:24 +00:00
parent 9c3b053727
commit c719fbf7fc
3 changed files with 11 additions and 11 deletions

View File

@@ -824,7 +824,7 @@ class WebPage implements Page
file_put_contents($sJSFileName, $this->get_dict_file_content());
}
// Load the dictionary as the first javascript file, so that other JS file benefit from the translations
array_unshift($this->a_linked_scripts, utils::GetAbsoluteUrlAppRoot().'pages/ajax.render.php/?operation=dict&s='.$sSignature);
array_unshift($this->a_linked_scripts, utils::GetAbsoluteUrlAppRoot().'pages/ajax.document.php?operation=dict&s='.$sSignature);
}
}
}