mirror of https://github.com/OCA/web.git
[FIX] Fix bad indentation https://github.com/OCA/web/pull/27#discussion_r15434034
parent
aa05cfd2bb
commit
291f122d52
|
@ -20,8 +20,7 @@
|
||||||
//#############################################################################
|
//#############################################################################
|
||||||
openerp.web_export_view = function (instance) {
|
openerp.web_export_view = function (instance) {
|
||||||
|
|
||||||
var _t = instance.web._t,
|
var _t = instance.web._t, QWeb = instance.web.qweb;
|
||||||
QWeb = instance.web.qweb;
|
|
||||||
|
|
||||||
instance.web.Sidebar.include({
|
instance.web.Sidebar.include({
|
||||||
redraw: function () {
|
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);
|
self.$el.find('.oe_sidebar_export_view_xls').on('click', self.on_sidebar_export_view_xls);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
on_sidebar_export_view_xls: function () {
|
on_sidebar_export_view_xls: function () {
|
||||||
// Select the first list of the current (form) view
|
// Select the first list of the current (form) view
|
||||||
// or assume the main view is a list view and use that
|
// or assume the main view is a list view and use that
|
||||||
|
|
Loading…
Reference in New Issue