[IMP] improvement for kanban card movement

bzr revid: pga@tinyerp.com-20140305113307-mbwffroxmbgefion
This commit is contained in:
Parth Gajjar (Open ERP) 2014-03-05 17:03:07 +05:30
parent 79e14134b2
commit 004fa1f1ac
2 changed files with 3 additions and 4 deletions

View File

@ -13,9 +13,6 @@
width: 100%;
height: 100%;
}
.openerp .oe_kanban_view.oe_kanban_grouped{
position: relative;
}
.openerp .oe_kanban_view .oe_view_nocontent .oe_view_nocontent_content {
margin-left: 90px;
margin-top: 5px;
@ -165,7 +162,7 @@
padding: 0px;
background: white;
}
.openerp .oe_kanban_view .oe_kanban_column {
.openerp .oe_kanban_view .oe_kanban_column, .openerp .oe_kanban_view .oe_kanban_column_cards {
height: 100%;
}
.openerp .oe_kanban_view .oe_kanban_aggregates {

View File

@ -495,12 +495,14 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
|| (!this.options.action.help && !this.options.action.get_empty_list_help)) {
return;
}
this.$el.css("position", "relative");
$(QWeb.render('KanbanView.nocontent', { content : this.options.action.get_empty_list_help || this.options.action.help})).insertBefore(this.$('table:first'));
this.$el.find('.oe_view_nocontent').click(function() {
self.$buttons.openerpBounce();
});
},
remove_no_result: function() {
this.$el.css("position", "");
this.$el.find('.oe_view_nocontent').remove();
},