-
- Downloads
[FIX] web: not possible to show a notification via client action
Before this commit, it was not possible to show a message using a client action. (e.g. show a success message only with core in Python) Now, it's possible using a client action. This client action call displayNotification and so we can use the same options also. A test is added to be sure that this action do not change the current action Note: in the future a custom registry may be created in a refactoring to specific function action registry.
Showing
- addons/web/static/src/js/core/misc.js 11 additions, 0 deletionsaddons/web/static/src/js/core/misc.js
- addons/web/static/tests/chrome/action_manager_tests.js 59 additions, 0 deletionsaddons/web/static/tests/chrome/action_manager_tests.js
- doc/reference/javascript_reference.rst 19 additions, 0 deletionsdoc/reference/javascript_reference.rst
Loading
Please register or sign in to comment