Do not specify mode to load in sao's O2M widget

issue10080
review335561002
This commit is contained in:
Nicolas Évrard committed 2021-02-11 11:19:51 +01:00
1 parent ee12296871
commit 96b271e84f
1 file changed
+1 -1
+1 -1
View File
@@ -3034,7 +3034,7 @@ function eval_pyson(value){
this.screen.pre_validate = attributes.pre_validate == 1;
this.screen.message_callback = this.record_label.bind(this);
this.prm = this.screen.switch_view(modes[0]).done(function() {
this.prm = this.screen.switch_view().done(function() {
this.content.append(this.screen.screen_container.el);
}.bind(this));