diff options
| author | Raphael Collet <rco@odoo.com> | 2019-01-29 16:32:14 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-08-21 13:47:17 +0000 |
| commit | 4cd093a0013752ddb140fe0f0f8928bc001543f6 (patch) | |
| tree | 0b53d4ddc5071123add7001619777c421437f233 /addons/web_editor/static/lib/summernote/src/js/EventHandler.js | |
| parent | ebaa132d5d1e93e122a645bcf9a8eeff1b478b0a (diff) | |
[IMP] fields: extend selection with a given order
When extended with the selection_add parameter, a singleton (value,)
where `value` appears in the overriden selection, can be used.
The new values are inserted in an order that is consistent with the
overridden selection and this list.
selection = [('a', 'A'), ('b', 'B')]
selection_add = [('c', 'C'), ('b',)]
> result = [('a', 'A'), ('c', 'C'), ('b', 'B')]
Diffstat (limited to 'addons/web_editor/static/lib/summernote/src/js/EventHandler.js')
0 files changed, 0 insertions, 0 deletions
