[FIX] list button test: no call_button result now triggers an act_window_close
bzr revid: xmo@openerp.com-20121116094355-bsbxb0ufpjqx5j50
This commit is contained in:
@@ -44,7 +44,9 @@ $(document).ready(function () {
|
||||
return {result: false};
|
||||
};
|
||||
var ds = new instance.web.DataSetStatic(null, 'demo', null, [1, 2, 3]);
|
||||
var l = new instance.web.ListView({}, ds, false, {editable: 'top'});
|
||||
var l = new instance.web.ListView({
|
||||
do_action: openerp.testing.noop
|
||||
}, ds, false, {editable: 'top'});
|
||||
l.appendTo($fix)
|
||||
.then(l.proxy('reload_content'))
|
||||
.then(function () {
|
||||
|
||||
Reference in New Issue
Block a user