diff --git a/web_export_view/static/src/js/web_export_view.js b/web_export_view/static/src/js/web_export_view.js index 887fee2b..df4419de 100644 --- a/web_export_view/static/src/js/web_export_view.js +++ b/web_export_view/static/src/js/web_export_view.js @@ -20,8 +20,7 @@ //############################################################################# openerp.web_export_view = function (instance) { - var _t = instance.web._t, - QWeb = instance.web.qweb; + var _t = instance.web._t, QWeb = instance.web.qweb; instance.web.Sidebar.include({ redraw: function () { @@ -32,7 +31,7 @@ openerp.web_export_view = function (instance) { self.$el.find('.oe_sidebar_export_view_xls').on('click', self.on_sidebar_export_view_xls); } }, - + on_sidebar_export_view_xls: function () { // Select the first list of the current (form) view // or assume the main view is a list view and use that