Commit fd08a081 authored by Sebastien Robin's avatar Sebastien Robin

MONITORING erp5_web_renderjs_ui: add needed support for latest ERP5 changes

parent 3e7b47f5
...@@ -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