Setup row_activate on Window.Search

This commit is contained in:
Cédric Krier committed 2015-10-07 16:30:02 +02:00
1 parent 6fcb9ed64d
commit 32b50447ad
1 file changed
+5 -1
+5 -1
View File
@@ -444,7 +444,8 @@
context: this.context,
domain: this.domain,
view_ids: kwargs.view_ids,
views_preload: views_preload
views_preload: views_preload,
row_activate: this.activate.bind(this)
});
this.screen.load_next_view().done(function() {
this.screen.switch_view().done(function() {
@@ -460,6 +461,9 @@
jQuery(this).remove();
});
},
activate: function() {
this.response('RESPONSE_OK');
},
response: function(response_id) {
var records;
var value = [];