summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/view_editor.js
diff options
context:
space:
mode:
authorYogesh (OpenERP) <ysa@tinyerp.com>2011-11-10 16:40:21 +0530
committerYogesh (OpenERP) <ysa@tinyerp.com>2011-11-10 16:40:21 +0530
commitc71753e42a0149a100622bb77d06ba191c0768c9 (patch)
tree4b66c714003a3ef3314b66cc01905b094b20038c /addons/web/static/src/js/view_editor.js
parent014fc455922d5c22d0e5646aef674ffd40b62de7 (diff)
[FIX] vieweditor :- fix problem of assign default view in variable.
bzr revid: ysa@tinyerp.com-20111110111021-7srfslh8bsqwnd56
Diffstat (limited to 'addons/web/static/src/js/view_editor.js')
-rw-r--r--addons/web/static/src/js/view_editor.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/view_editor.js b/addons/web/static/src/js/view_editor.js
index 602d43a1db0..f901c2985dd 100644
--- a/addons/web/static/src/js/view_editor.js
+++ b/addons/web/static/src/js/view_editor.js
@@ -54,6 +54,7 @@ openerp.web.ViewEditor = openerp.web.Widget.extend({
}
},
}).start().open();
+ this.main_view_id = this.parent.fields_view.view_id;
var action_manager = new openerp.web.ActionManager(this);
action_manager.appendTo(this.view_edit_dialog);
$.when(action_manager.do_action(action)).then(function() {