[FIX] another problem with translation wizard

bzr revid: nicolas.vanhoren@openerp.com-20120723152224-pmll06c6j3hk1hjd
This commit is contained in:
niv-openerp
2012-07-23 17:22:24 +02:00
parent 50a5ccebe7
commit 8218e1cc80
+3 -1
View File
@@ -1074,11 +1074,13 @@ instance.web.TranslateDialog = instance.web.Dialog.extend({
if (self.view.translatable_fields && self.view.translatable_fields.length) {
self.do_load_fields_values(function() {
sup.call(self);
// desactivated because it created an exception, plus it does not seem very useful
/*
if (field) {
var $field_input = self.$element.find('tr[data-field="' + field.name + '"] td:nth-child(2) *:first-child');
self.$element.scrollTo($field_input);
$field_input.focus();
}
}*/
});
} else {
sup.call(self);