1
0
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:
Giulio Cesare Solaroli 2015-03-22 22:38:54 +01:00
parent 7a116201f7
commit ab128e98e7

View File

@ -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);