[FIX] Fixed bug in the bar that used to be called 'sidebar' but could not be named 'topbar' neither because there's already a 'topbar' item. Let's call it 'foobar'
bzr revid: fme@openerp.com-20120410142737-la6yhjfo8hkfpwuq
This commit is contained in:
@@ -834,7 +834,7 @@ session.web.Sidebar = session.web.Widget.extend({
|
||||
self.getParent().sidebar_context().then(function (context) {
|
||||
var ids = self.getParent().get_selected_ids();
|
||||
if (ids.length == 0) {
|
||||
openerp.web.dialog($("<div />").text(_t("You must choose at least one record.")), { title: _t("Warning"), modal: true });
|
||||
session.web.dialog($("<div />").text(_t("You must choose at least one record.")), { title: _t("Warning"), modal: true });
|
||||
return false;
|
||||
}
|
||||
var additional_context = _.extend({
|
||||
|
||||
Reference in New Issue
Block a user