From 90fbbe11eb0b064777c8582a76659d32fdd7ee9e Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 16 Jan 2009 10:40:22 -0700 Subject: [PATCH] Add effect when showing/hiding attachment list. --- imp/js/src/DimpBase.js | 2 +- imp/js/src/DimpCore.js | 1 - imp/templates/chunks/message.php | 8 +++++--- imp/templates/index/index.inc | 5 +++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/imp/js/src/DimpBase.js b/imp/js/src/DimpBase.js index eff17afbb..33967cd7e 100644 --- a/imp/js/src/DimpBase.js +++ b/imp/js/src/DimpBase.js @@ -907,7 +907,7 @@ var DimpBase = { $('partlist_col').show(); $('partlist_exp').hide(); tmp.down().hide().next().show(); - tmp2.update(r.atc_list); + tmp2.down('TABLE').update(r.atc_list); } else { tmp.down().show().next().hide(); } diff --git a/imp/js/src/DimpCore.js b/imp/js/src/DimpCore.js index 60ec52be8..6dfbb36c4 100644 --- a/imp/js/src/DimpCore.js +++ b/imp/js/src/DimpCore.js @@ -427,7 +427,6 @@ DimpCore = { base = elt; } - alist.each(function(o, i) { var a, t; if (o.raw) { a = o.raw; diff --git a/imp/templates/chunks/message.php b/imp/templates/chunks/message.php index f1607a5a5..22f743e7e 100644 --- a/imp/templates/chunks/message.php +++ b/imp/templates/chunks/message.php @@ -73,9 +73,11 @@ function _createDAfmsg($text, $image, $id, $class = '', $show_text = true) - - - + diff --git a/imp/templates/index/index.inc b/imp/templates/index/index.inc index f532b5f38..a2f78a544 100644 --- a/imp/templates/index/index.inc +++ b/imp/templates/index/index.inc @@ -319,8 +319,9 @@ function _simpleButton($id, $text, $image, $imagedir = null)
- - + -- 2.11.0