From: Michael M Slusarz Date: Mon, 30 Mar 2009 19:26:35 +0000 (-0600) Subject: Don't use separate separator div. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3e277f2890a82954a480e3782bcab6fc502ed6ed;p=horde.git Don't use separate separator div. --- diff --git a/imp/js/src/DimpBase.js b/imp/js/src/DimpBase.js index 654bfd265..ad65d655a 100644 --- a/imp/js/src/DimpBase.js +++ b/imp/js/src/DimpBase.js @@ -494,11 +494,7 @@ var DimpBase = { * elsewhere. */ tmp = [ $('button_deleted') ].compact().invoke('up', 'SPAN'); [ 'ctx_message_', 'ctx_draft_' ].each(function(c) { - var t = $(c + 'setflag'); - if (t) { - tmp = tmp.concat([ t, t.previous('DIV.sep'), t.next('DIV.sep') ]); - } - tmp = tmp.concat($(c + 'deleted', c + 'undeleted')); + tmp = tmp.concat($(c + 'deleted', c + 'setflag', c + 'undeleted')); }); if (this.viewport.getMetaData('readonly')) { @@ -759,9 +755,9 @@ var DimpBase = { break; case 'ctx_otheractions': - tmp = $('oa_sep1', 'oa_blacklist', 'oa_whitelist', 'oa_sep2', 'oa_undeleted'); + tmp = $('oa_blacklist', 'oa_whitelist', 'oa_undeleted'); if (this.viewport.getMetaData('readonly')) { - $('oa_setflag').hide().previous('DIV.sep').hide(); + $('oa_setflag').hide(); } else { tmp.push($('oa_setflag')); } diff --git a/imp/templates/index/index-dimp.inc b/imp/templates/index/index-dimp.inc index 36dd71f7c..3b1f90aaf 100644 --- a/imp/templates/index/index-dimp.inc +++ b/imp/templates/index/index-dimp.inc @@ -339,11 +339,9 @@ function _simpleButton($id, $text, $image, $imagedir = null) - -
+ - -
+ @@ -355,10 +353,8 @@ function _simpleButton($id, $text, $image, $imagedir = null)