[fix] typo

bzr revid: nicolas.vanhoren@openerp.com-20110606075043-cvabf3ex95k0z6af
This commit is contained in:
niv-openerp 2011-06-06 09:50:43 +02:00
parent 872520df3d
commit 147ca86660
1 changed files with 1 additions and 1 deletions

View File

@ -1046,7 +1046,7 @@ openerp.base.form.FieldOne2Many = openerp.base.form.Field.extend({
this.viewmanager.start();
$.when(this.is_started, this.is_setted).then(function() {
if (modes[0] == "list") {
if (modes[0] == "tree") {
var view = self.viewmanager.views[self.viewmanager.active_view].controller;
view.reload_content();
}