[FIX] web: use 'o_input' class on kanban progressbar <input/>

Since the new views, the 'o_input' class has to be set explicitely on
<input/>, <select/> and <textarea/> elements to have the proper styling.
This commit is contained in:
qsm-odoo
2017-08-25 10:37:37 +02:00
parent ea60ec029d
commit 6e22e8b027
@@ -1689,7 +1689,7 @@ var FieldProgressBar = AbstractField.extend({
} else {
this.$el.on('click', function () {
if (!self.write_mode) {
var $input = $('<input>', {type: 'text', class: 'o_progressbar_value'});
var $input = $('<input>', {type: 'text', class: 'o_progressbar_value o_input'});
$input.on('blur', _.bind(self.on_change_input, self));
self.$('.o_progressbar_value').replaceWith($input);
self.write_mode = true;