i am aware that this is an interesting hack, and that i do not resize
correctly the $buttons after the bouncing effect, but at least, it
solves the problem.
this.$el.prepend(
$('<div class="oe_view_nocontent">').html(this.options.action.help)
);
- var create_nocontent = this.$buttons.closest('.col-md-6');
+ var $buttons = this.$buttons;
this.$el.find('.oe_view_nocontent').click(function() {
- create_nocontent.effect('bounce', {distance: 18, times: 5}, 250);
+ $buttons.width($buttons.width() + 1).openerpBounce();
});
}
});