commit
d225c56353
|
@ -1186,7 +1186,7 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web.
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.web.ListView.Groups# */{
|
instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.web.ListView.Groups# */{
|
||||||
passtrough_events: 'action deleted row_link',
|
passthrough_events: 'action deleted row_link',
|
||||||
/**
|
/**
|
||||||
* Grouped display for the ListView. Handles basic DOM events and interacts
|
* Grouped display for the ListView. Handles basic DOM events and interacts
|
||||||
* with the :js:class:`~DataGroup` bound to it.
|
* with the :js:class:`~DataGroup` bound to it.
|
||||||
|
@ -1406,7 +1406,7 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
|
||||||
// can have selections spanning multiple links
|
// can have selections spanning multiple links
|
||||||
var selection = self.get_selection();
|
var selection = self.get_selection();
|
||||||
$this.trigger(e, [selection.ids, selection.records]);
|
$this.trigger(e, [selection.ids, selection.records]);
|
||||||
}).bind(this.passtrough_events, function (e) {
|
}).bind(this.passthrough_events, function (e) {
|
||||||
// additional positional parameters are provided to trigger as an
|
// additional positional parameters are provided to trigger as an
|
||||||
// Array, following the event type or event object, but are
|
// Array, following the event type or event object, but are
|
||||||
// provided to the .bind event handler as *args.
|
// provided to the .bind event handler as *args.
|
||||||
|
|
|
@ -795,7 +795,7 @@ openerp.web.list_editable = function (instance) {
|
||||||
});
|
});
|
||||||
|
|
||||||
instance.web.ListView.Groups.include(/** @lends instance.web.ListView.Groups# */{
|
instance.web.ListView.Groups.include(/** @lends instance.web.ListView.Groups# */{
|
||||||
passtrough_events: instance.web.ListView.Groups.prototype.passtrough_events + " edit saved",
|
passthrough_events: instance.web.ListView.Groups.prototype.passthrough_events + " edit saved",
|
||||||
get_row_for: function (record) {
|
get_row_for: function (record) {
|
||||||
return _(this.children).chain()
|
return _(this.children).chain()
|
||||||
.invoke('get_row_for', record)
|
.invoke('get_row_for', record)
|
||||||
|
|
Loading…
Reference in New Issue