[FIX] survey: fix duplicate timer
This commit fix a bug introduced by 910897fc97
which displayed two timers when starting a survey.
Task-3497526
closes odoo/odoo#134686
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -475,7 +475,7 @@ publicWidget.registry.SurveyFormWidget = publicWidget.Widget.extend(SurveyPreloa
|
||||
}
|
||||
|
||||
// Start datetime pickers
|
||||
self.trigger_up("widgets_start_request");
|
||||
self.trigger_up("widgets_start_request", { $target: this.$el.find('.o_survey_form_date') });
|
||||
if (this.options.isStartScreen || (options && options.initTimer)) {
|
||||
this._initTimer();
|
||||
this.options.isStartScreen = false;
|
||||
|
||||
Reference in New Issue
Block a user