projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e53ab
)
Don't remove Cc/Bcc toggles - it may need to be reset for quickreplies
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 2 Nov 2010 05:10:26 +0000
(23:10 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 2 Nov 2010 05:10:26 +0000
(23:10 -0600)
imp/js/compose-dimp.js
patch
|
blob
|
history
diff --git
a/imp/js/compose-dimp.js
b/imp/js/compose-dimp.js
index
4023bfc
..
643dec3
100644
(file)
--- a/
imp/js/compose-dimp.js
+++ b/
imp/js/compose-dimp.js
@@
-839,15
+839,16
@@
var DimpCompose = {
toggleCC: function(type)
{
- var t;
+ var t = $('toggle' + type),
+ s = t.siblings().first();
$('send' + type).show();
- t = $('toggle' + type);
- if (t.siblings().size()) {
- t.remove();
+ if (s && s.visible()) {
+ t.hide();
} else {
- t.up('TR').
remov
e();
+ t.up('TR').
hid
e();
}
+
this.resizeMsgArea();
},