projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1732986
)
Fix resizing when removing attachment
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 4 Nov 2009 18:36:48 +0000
(11:36 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 6 Nov 2009 20:50:08 +0000
(13:50 -0700)
imp/js/compose-dimp.js
patch
|
blob
|
history
diff --git
a/imp/js/compose-dimp.js
b/imp/js/compose-dimp.js
index
fd9f52f
..
4b7ebb0
100644
(file)
--- a/
imp/js/compose-dimp.js
+++ b/
imp/js/compose-dimp.js
@@
-555,15
+555,17
@@
var DimpCompose = {
n = $(n);
ids.push(n.down('SPAN.remove').readAttribute('atc_id'));
n.fade({
- afterFinish: function() { n.remove(); },
+ afterFinish: function() {
+ n.remove();
+ this.resizeMsgArea();
+ }.bind(this),
duration: 0.4
});
- });
+ }
, this
);
if (!$('attach_list').childElements().size()) {
$('attach_list').hide();
}
DimpCore.doAction('DeleteAttach', { atc_indices: ids, imp_compose: $F('composeCache') });
- this.resizeMsgArea();
},
resizeMsgArea: function()