Fix adding priority image to preview information.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 15 Apr 2009 05:26:34 +0000 (23:26 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 15 Apr 2009 05:26:34 +0000 (23:26 -0600)
imp/js/src/DimpBase.js
imp/themes/screen-dimp.css

index 9530fdf..54ba155 100644 (file)
@@ -983,7 +983,11 @@ var DimpBase = {
         switch (r.priority) {
         case 'high':
         case 'low':
-            tmp.invoke('insert', { top: new Element('DIV').addClassName('flag' + r.priority.capitalize() + 'priority') });
+            // Can't use invoke() here - new Element must be created for
+            // each object.
+            tmp.each(function(t) {
+                t.insert({ top: new Element('DIV', { className: 'msgflags flag' + r.priority.capitalize() + 'priority' }) });
+            });
             break;
         }
 
index 8bd6970..db9ad2d 100644 (file)
@@ -573,6 +573,7 @@ div.dimpActionsCompose, div.dimpActionsMsg {
     overflow: hidden;
     padding-left: 2px;
     max-width: 40%;
+    vertical-align: top;
 }
 #msgHeadersColl span.fromcontainer {
     padding-left: 5px;