[IMP] improvement for kanban card movement
bzr revid: pga@tinyerp.com-20140305113307-mbwffroxmbgefion
This commit is contained in:
parent
79e14134b2
commit
004fa1f1ac
|
@ -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 {
|
||||
|
|
|
@ -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();
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue