~anybox/openobject-client-web/6.0-anybox-bugfixes

« back to all changes in this revision

Viewing changes to addons/openerp/controllers/templates/search.mako

merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
                }
73
73
                        function do_select(id) {
74
74
                    jQuery.m2m('close',
75
 
                        id ? [id]
 
75
                        id ? [parseInt(id, 10)]
76
76
                           : ListView('_terp_list').$getSelectedItems().map(function () {
77
77
                                return parseInt(this.value, 10); }).get()
78
78
                    );