Skip to content

Commit

Permalink
[FIX] fix related to announcement bar
Browse files Browse the repository at this point in the history
  • Loading branch information
parthivgls committed Jun 17, 2015
1 parent b5b0e74 commit 0297d9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openeducat_erp/static/src/js/chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ instance.web.WebClient.include({
}
var self = this;
var config_parameter = new instance.web.Model('ir.config_parameter');
var $bar = this.$el.find('.announcement_bar');
$(openerp.qweb.render('WebClient.announcement_bar')).prependTo($('body'));
var $bar = this.$el.find('#announcement_bar_table');
return config_parameter.call('get_param', ['database.uuid', false]).then(function(dbuuid) {
if (!dbuuid) {
return;
Expand Down

0 comments on commit 0297d9a

Please sign in to comment.