Skip to content
Snippets Groups Projects
Commit a9fa7e28 authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] survey: show answers on 'print answers'

This commit closes #20836

Courtesy of @sswapnesh for help
parent 193b55ea
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ var core = require('web.core');
var time = require('web.time');
var ajax = require('web.ajax');
var base = require('web_editor.base');
var context = require('web_editor.context');
var field_utils = require('web.field_utils');
var _t = core._t;
......@@ -171,7 +172,7 @@ if(!the_form.length) {
// });
function load_locale(){
var url = "/web/webclient/locale/" + base.get_context().lang || 'en_US';
var url = "/web/webclient/locale/" + context.get().lang || 'en_US';
return ajax.loadJS(url);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment