Commit 16f6ab17 authored by Sebastien Robin's avatar Sebastien Robin Committed by Eteri

MONITORING erp5_web_renderjs_ui: add needed support for latest ERP5 changes

parent 96ca9962
...@@ -480,6 +480,10 @@ ...@@ -480,6 +480,10 @@
.allowPublicAcquisition('isDesktopMedia', function isDesktopMedia() { .allowPublicAcquisition('isDesktopMedia', function isDesktopMedia() {
return window.matchMedia("(min-width: 85em)").matches; return window.matchMedia("(min-width: 85em)").matches;
}) })
.allowPublicAcquisition("getSelectedLanguage",
function getSelectedLanguage() {
return route(this, 'translation_gadget', 'getSelectedLanguage');
})
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
// declared methods // declared methods
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment