[FIX] editor base state: initializing formview (and its pager) requires an actual dataset.ids.length
bzr revid: xmo@openerp.com-20120801123635-y21onweovg0uih7d
This commit is contained in:
@@ -72,7 +72,7 @@ $(document).ready(function () {
|
||||
});
|
||||
asyncTest('base-state', 2, function () {
|
||||
var e = new instance.web.list.Editor({
|
||||
dataset: {},
|
||||
dataset: {ids: []},
|
||||
edition_view: function () {
|
||||
return makeFormView();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user