Fix typo for view type test in Sao.Window.Form
The attribute of the view which contains the type is view_type. It was introduced by changeset e0a583fa4edc. issue7847
This commit is contained in:
1 parent
f73d551e72
commit
864e2c8449
1 file changed
+1
-1
+1
-1
@@ -58,7 +58,7 @@
|
||||
this.switch_prm = this.screen.switch_view(view_type)
|
||||
.done(function() {
|
||||
if (kwargs.new_ &&
|
||||
(this.screen.current_view.type == view_type)) {
|
||||
(this.screen.current_view.view_type == view_type)) {
|
||||
this.screen.new_(undefined, kwargs.rec_name);
|
||||
}
|
||||
}.bind(this));
|
||||
|
||||
Reference in new issue
Block a user