projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9242ad1
)
Fix showing/hiding unsetflag entry in other actions menu
author
Michael M Slusarz
<slusarz@curecanti.org>
Sat, 11 Apr 2009 23:20:07 +0000
(17:20 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Sat, 11 Apr 2009 23:20:07 +0000
(17:20 -0600)
imp/js/src/DimpBase.js
patch
|
blob
|
history
diff --git
a/imp/js/src/DimpBase.js
b/imp/js/src/DimpBase.js
index
6b2e5bb
..
f18ded9
100644
(file)
--- a/
imp/js/src/DimpBase.js
+++ b/
imp/js/src/DimpBase.js
@@
-782,9
+782,9
@@
var DimpBase = {
case 'ctx_otheractions':
tmp = $('oa_blacklist', 'oa_whitelist', 'oa_undeleted');
if (this.viewport.getMetaData('readonly')) {
- $('oa_setflag'
).hide(
);
+ $('oa_setflag'
, 'oa_unsetflag').invoke('hide'
);
} else {
- tmp
.push($('oa_
setflag'));
+ tmp
= tmp.concat($('oa_setflag', 'oa_un
setflag'));
}
tmp.compact().invoke(this.viewport.getSelected().size() ? 'show' : 'hide');
break;