[IMP]replace callenabled for on_close
bzr revid: vja@tinyerp.com-20121008133123-wg9gz98d0msrsnvn
This commit is contained in:
parent
2b19de7169
commit
3e15613cf7
|
@ -67,7 +67,7 @@ instance.web_view_editor.ViewEditor = instance.web.Widget.extend({
|
||||||
{text: _t("Close"), click: function() { self.view_edit_dialog.close(); window.location.reload(); }}
|
{text: _t("Close"), click: function() { self.view_edit_dialog.close(); window.location.reload(); }}
|
||||||
]
|
]
|
||||||
}).open();
|
}).open();
|
||||||
this.view_edit_dialog.on_close.add_last(function(){window.location.reload();});
|
this.view_edit_dialog.on('on_close',self,function(){window.location.reload();});
|
||||||
this.main_view_id = this.parent.fields_view.view_id;
|
this.main_view_id = this.parent.fields_view.view_id;
|
||||||
this.action_manager = new instance.web.ActionManager(this);
|
this.action_manager = new instance.web.ActionManager(this);
|
||||||
this.action_manager.appendTo(this.view_edit_dialog.$el);
|
this.action_manager.appendTo(this.view_edit_dialog.$el);
|
||||||
|
|
Loading…
Reference in New Issue