Vijaykumar Baladaniya has proposed merging
lp:~openerp-dev/openerp-web/7.0-bug-1107835-vba into lp:openerp-web/7.0.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #1107835 in OpenERP Web: "Misspelled identifier: passtrough_events"
https://bugs.launchpad.net/openerp-web/+bug/1107835
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/7.0-bug-1107835-vba/+merge/146628
Hello Sir,
I have change name passtrough_events with passthrough_events. Kindly review
the code.
Thanks,
vba
--
https://code.launchpad.net/~openerp-dev/openerp-web/7.0-bug-1107835-vba/+merge/146628
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/7.0-bug-1107835-vba.
=== modified file 'addons/web/static/src/js/view_list.js'
--- addons/web/static/src/js/view_list.js 2013-01-03 14:46:51 +0000
+++ addons/web/static/src/js/view_list.js 2013-02-05 13:39:20 +0000
@@ -1186,7 +1186,7 @@
}
});
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
* with the :js:class:`~DataGroup` bound to it.
@@ -1406,7 +1406,7 @@
// can have selections spanning multiple links
var selection = self.get_selection();
$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
// Array, following the event type or event object, but are
// provided to the .bind event handler as *args.
=== modified file 'addons/web/static/src/js/view_list_editable.js'
--- addons/web/static/src/js/view_list_editable.js 2012-12-10 10:09:14 +0000
+++ addons/web/static/src/js/view_list_editable.js 2013-02-05 13:39:20 +0000
@@ -795,7 +795,7 @@
});
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) {
return _(this.children).chain()
.invoke('get_row_for', record)
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp