summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-03-21 14:30:53 +0100
committerChristophe Matthieu <chm@openerp.com>2013-03-21 14:30:53 +0100
commitdc709078ffbaf06158e6c1d9d12e54e00bb044c3 (patch)
tree27590feb130cd7d87c3d3d39c5c1c7934e353692
parent5ad1ecb48f6e644acdae728c0f73363281410af7 (diff)
[IMP] code cleaning for get_empty_list_help
bzr revid: chm@openerp.com-20130321133053-wczo7iizsci4hkjs
-rw-r--r--addons/web_kanban/static/src/js/kanban.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js
index fb6dc0781ec..b02f8d12151 100644
--- a/addons/web_kanban/static/src/js/kanban.js
+++ b/addons/web_kanban/static/src/js/kanban.js
@@ -459,11 +459,11 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
var self = this;
if (this.groups.group_by
|| !this.options.action
- || (!this.options.action.help && !this.options.action.dynamic_help)) {
+ || (!this.options.action.help && !this.options.action.get_empty_list_help)) {
return;
}
this.$el.find('table:first').css("position", "absolute");
- $(QWeb.render('KanbanView.nocontent', { content : this.options.action.dynamic_help || this.options.action.help})).insertAfter(this.$('table:first'));
+ $(QWeb.render('KanbanView.nocontent', { content : this.options.action.get_empty_list_help || this.options.action.help})).insertAfter(this.$('table:first'));
this.$el.find('.oe_view_nocontent').click(function() {
self.$buttons.openerpBounce();
});