Commit 96ca9962 authored by Sebastien Robin's avatar Sebastien Robin Committed by Eteri

MONITORING erp5_web_renderjs_ui: add needed support for latest ERP5 changes

parent 3f955de2
......@@ -477,6 +477,9 @@
return main_gadget.triggerSubmit(param_list);
});
})
.allowPublicAcquisition('isDesktopMedia', function isDesktopMedia() {
return window.matchMedia("(min-width: 85em)").matches;
})
/////////////////////////////////////////////////////////////////
// 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