mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Code cleanup, remove unused field 'active', avoid calculating fields in form view.
Support relative time filters and context_today. Updated version and headers
This commit is contained in:
@@ -35,13 +35,13 @@ _.mixin({
|
||||
var self = this;
|
||||
this.$('#add_dashboard_tile').on('click', this, function (){
|
||||
self.save_tile();
|
||||
})
|
||||
});
|
||||
},
|
||||
render_data: function(dashboard_choices){
|
||||
var selection = instance.web.qweb.render(
|
||||
"SearchView.addtodashboard.selection", {
|
||||
selections: dashboard_choices});
|
||||
this.$("form input").before(selection)
|
||||
this.$("form input").before(selection);
|
||||
},
|
||||
save_tile: function () {
|
||||
var self = this;
|
||||
@@ -97,4 +97,4 @@ _.mixin({
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user