[IMP] website: improve we-urlpicker behaviour
The urlpicker was not closing properly when a value was selected. Part of: https://github.com/odoo/odoo/pull/46640 task-2210358 X-original-commit: 6f722d919cd650d5c0b1b9c4a878fd519267c348
This commit is contained in:
@@ -47,7 +47,7 @@ const UrlPickerUserValueWidget = InputUserValueWidget.extend({
|
||||
* @param {OdooEvent} ev
|
||||
*/
|
||||
_onWebsiteURLChosen: function (ev) {
|
||||
$(this.inputEl).trigger('input');
|
||||
this._value = this.inputEl.value;
|
||||
this._onUserValueChange(ev);
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user