projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86bd36f
)
Fix flag checking for 'negative' flags if no other flags exist
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 12 Nov 2009 20:21:25 +0000
(13:21 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 12 Nov 2009 22:33:19 +0000
(15:33 -0700)
imp/js/DimpBase.js
patch
|
blob
|
history
diff --git
a/imp/js/DimpBase.js
b/imp/js/DimpBase.js
index
bb596e1
..
b5488ba
100644
(file)
--- a/
imp/js/DimpBase.js
+++ b/
imp/js/DimpBase.js
@@
-2464,7
+2464,7
@@
var DimpBase = {
hasFlag: function(f, r)
{
- return
r.flag && this.convertFlag(f, r.flag.include(f)
);
+ return
this.convertFlag(f, r.flag ? r.flag.include(f) : false
);
},
convertFlag: function(f, set)