Fixed a minor issue with the implementation of Field.isEmpty method
This commit is contained in:
parent
7a116201f7
commit
ab128e98e7
@ -143,7 +143,10 @@ Clipperz.Base.extend(Clipperz.PM.DataModel.Record.Version.Field, Object, {
|
|||||||
],
|
],
|
||||||
'isHidden': [
|
'isHidden': [
|
||||||
MochiKit.Base.method(this, 'isHidden'),
|
MochiKit.Base.method(this, 'isHidden'),
|
||||||
MochiKit.Base.partial(MochiKit.Base.operator.eq, false)
|
// MochiKit.Base.partial(MochiKit.Base.operator.eq, false)
|
||||||
|
function (aValue) {
|
||||||
|
return (aValue == false) || (aValue == null);
|
||||||
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
deferredResult.addCallback(MochiKit.Base.values);
|
deferredResult.addCallback(MochiKit.Base.values);
|
||||||
|
Loading…
Reference in New Issue
Block a user