[MERGE] trunk

bzr revid: al@openerp.com-20120430132040-vefjemxey1x4n3wo
This commit is contained in:
Antony Lesuisse
2012-04-30 15:20:40 +02:00
@@ -392,9 +392,18 @@ instance.web_calendar.CalendarView = instance.web.View.extend({
var self = this;
$.when(this.has_been_loaded).then(function() {
self.$element.show();
if (self.sidebar) {
self.sidebar.$element.show();
}
self.do_push_state({});
});
},
do_hide: function() {
this._super();
if (this.sidebar) {
this.sidebar.$element.hide();
}
},
get_selected_ids: function() {
// no way to select a record anyway
return [];