Browse Source

[FIX] Fixed clear button

pull/59/head
tarteo 9 years ago
committed by Andrea
parent
commit
496a08cdb2
  1. 1
      bi_view_editor/static/src/js/bve.js

1
bi_view_editor/static/src/js/bve.js

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

Loading…
Cancel
Save