[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:
parent
76cce62c99
commit
90f1015dee
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue