[REM] Removed 7.0 backward compatibility code
bzr revid: fme@openerp.com-20130404145729-wwt97ipxguj9dpa5
This commit is contained in:
parent
307ca374d6
commit
5318eca348
|
@ -662,13 +662,6 @@ instance.web.ViewManager = instance.web.Widget.extend({
|
|||
},
|
||||
add_breadcrumb: function(options) {
|
||||
var options = options || {};
|
||||
// 7.0 backward compatibility
|
||||
if (typeof options == 'function') {
|
||||
options = {
|
||||
on_reverse_breadcrumb: options
|
||||
};
|
||||
}
|
||||
// end of 7.0 backward compatibility
|
||||
var self = this;
|
||||
var views = [this.active_view || this.views_src[0].view_type];
|
||||
this.on('switch_mode', self, function(mode) {
|
||||
|
|
Loading…
Reference in New Issue