Fix address expand image in IMP compose screen
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 9 Jun 2009 17:24:08 +0000 (11:24 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 9 Jun 2009 17:24:08 +0000 (11:24 -0600)
imp/compose.php
imp/templates/compose/compose.html
imp/themes/screen-dimp.css
imp/themes/screen.css

index 0bb845e..99aaf52 100644 (file)
@@ -817,9 +817,6 @@ $t = new IMP_Template();
 $t->setOption('gettext', true);
 $t->set('post_action', Util::addParameter(Horde::applicationUrl('compose.php'), 'uniq', uniqid(mt_rand())));
 $t->set('allow_compose', !$compose_disable);
-if ($has_js) {
-    $t->set('loading_img', Horde::img('loading.gif', _("Loading...")));
-}
 
 if ($redirect) {
     /* Prepare the redirect template. */
index 6a490ef..4dce456 100644 (file)
@@ -80,7 +80,7 @@
 <else:addr.multiple>
   <td class="item addressTr">
    <input type="text" id="<tag:addr.id />" autocomplete="off" tabindex="<tag:addr.input_tabindex />" style="direction:ltr" name="<tag:addr.id />" value="<tag:addr.input_value />" />
-   <span id="<tag:addr.id />_loading_img" style="display:none;"><tag:loading_img /></span>
+   <span id="<tag:addr.id />_loading_img" style="display:none;" class="loadingImg"></span>
    <div id="<tag:addr.id />_results" class="autocomplete"></div>
   </td>
   <td class="item rightAlign"><tag:addr.help_compose />&nbsp;</td>
index 4731948..ece69f8 100644 (file)
@@ -101,16 +101,6 @@ div#quota {
 }
 
 /* Message List */
-span.loadingImg {
-    z-index: 1000;
-    border: 1px #e0e0e0 solid;
-    -moz-border-radius: 5px;
-    -webkit-border-radius: 5px;
-    background: #fff url("graphics/loading.gif") no-repeat center;
-    padding: 3px;
-    width: 16px;
-    height: 16px;
-}
 #msgLoading, #viewportLoading {
     position: absolute;
     margin: 10px 0 0 10px;
index 09cc912..f21597e 100644 (file)
@@ -526,6 +526,21 @@ span.threadImg8 {
     background-image: url("graphics/tree/rev-joinbottom.png");
 }
 
+/* Loading graphic */
+span.loadingImg {
+    z-index: 1000;
+    border: 1px #e0e0e0 solid;
+    -moz-border-radius: 5px;
+    -webkit-border-radius: 5px;
+    background: #fff url("graphics/loading.gif") no-repeat center;
+    padding: 3px;
+    width: 16px;
+    height: 16px;
+}
+td.addressTr span.loadingImg {
+    padding: 0 0 0 16px;
+}
+
 /* MIME styles. */
 .mimeStatusMessage, .mimeStatusWarning, .mimeHeaders, .mimePartInfo {
     padding: 4px;