[FIX] web client
bzr revid: fp@tinyerp.com-20120917164201-szji386vum59wpr8
This commit is contained in:
commit
082d26c314
|
@ -327,7 +327,7 @@ instance.web.ActionManager = instance.web.Widget.extend({
|
|||
}
|
||||
this.dialog_stop();
|
||||
},
|
||||
ir_actions_server: function (action, on_closed) {
|
||||
ir_actions_server: function (action, on_closed, clear_breadcrumbs) {
|
||||
var self = this;
|
||||
this.rpc('/web/action/run', {
|
||||
action_id: action.id,
|
||||
|
|
|
@ -142,9 +142,11 @@ instance.web_graph.GraphView = instance.web.View.extend({
|
|||
options_bar: function (data) {
|
||||
var min = _(data.data).chain()
|
||||
.map(function (record) {
|
||||
return _.min(record.data, function (item) {
|
||||
return item[1];
|
||||
})[1];
|
||||
if (record.data.length > 0){
|
||||
return _.min(record.data, function (item) {
|
||||
return item[1];
|
||||
})[1];
|
||||
}
|
||||
}).min().value();
|
||||
return {
|
||||
bars : {
|
||||
|
|
Loading…
Reference in New Issue