mirror of https://github.com/OCA/web.git
commit
20398b1d96
|
@ -248,7 +248,7 @@ FormController.include({
|
|||
on_button_translate: function() {
|
||||
var self = this;
|
||||
$.when(this.has_been_loaded).then(function() {
|
||||
self.open_translate_dialog(null, self.initialState.res_id);
|
||||
self.open_translate_dialog(null, self.getSelectedIds()[0]);
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue