[FIX] Fixed clear button

This commit is contained in:
tarteo
2016-07-08 15:58:10 +02:00
committed by Andrea
parent 572f43ad32
commit 496a08cdb2

View File

@@ -34,6 +34,7 @@ openerp.bi_view_editor = function (instance, local) {
this.$el.find(".body .right").droppable("option", "disabled", false);
this.$el.find('#clear').css('display', 'inline-block').click(function () {
self.set_fields([]);
self.internal_set_value('[]');
});
this.$el.find('.search-bar input').keyup(function(e) {
//Local filter