diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-07-23 17:22:24 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-07-23 17:22:24 +0200 |
| commit | 8218e1cc8051f38ef8d38d73b74f536a9c59dbb2 (patch) | |
| tree | 60e432687db53602c681d64264ae3ebdbc19d4b2 /addons/web/static/src/js | |
| parent | 50a5ccebe700abc0d58b20b10ac3edbbb873dd53 (diff) | |
[FIX] another problem with translation wizard
bzr revid: nicolas.vanhoren@openerp.com-20120723152224-pmll06c6j3hk1hjd
Diffstat (limited to 'addons/web/static/src/js')
| -rw-r--r-- | addons/web/static/src/js/views.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index bd102d867de..319dfc9ca6d 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -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); |
