diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-06-19 11:32:42 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-06-19 11:32:42 +0200 |
| commit | caa4cd2063cf5bbfc64731c830217cf14407f37d (patch) | |
| tree | fb8031016891896db937dc24f837e9aa87475792 /addons/web/static/src/js | |
| parent | b8c1571d948e593779b83ba78130c341f1e427cd (diff) | |
[FIX] web: use 'o_input' class on search view elements
Since the new views, the 'o_input' class has to be set explicitely on
<input/> and <select/> elements to have the proper styling.
Diffstat (limited to 'addons/web/static/src/js')
| -rw-r--r-- | addons/web/static/src/js/chrome/search_filters.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/static/src/js/chrome/search_filters.js b/addons/web/static/src/js/chrome/search_filters.js index 69c38056e4a..f3fa00cc5ca 100644 --- a/addons/web/static/src/js/chrome/search_filters.js +++ b/addons/web/static/src/js/chrome/search_filters.js @@ -155,6 +155,7 @@ ExtendedSearchProposition.Field = Widget.extend({ ExtendedSearchProposition.Char = ExtendedSearchProposition.Field.extend({ tagName: 'input', + className: 'o_input', attributes: { type: 'text' }, @@ -251,6 +252,7 @@ ExtendedSearchProposition.Date = ExtendedSearchProposition.DateTime.extend({ ExtendedSearchProposition.Integer = ExtendedSearchProposition.Field.extend({ tagName: 'input', + className: 'o_input', attributes: { type: 'number', value: '0', |
