mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-14 08:09:02 +01:00
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': [
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user