Better loading UI for dimp message screen
authorMichael M Slusarz <slusarz@curecanti.org>
Sun, 25 Oct 2009 02:55:26 +0000 (20:55 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 26 Oct 2009 18:35:45 +0000 (12:35 -0600)
imp/js/fullmessage-dimp.js
imp/templates/chunks/message.php

index 129c0a9..e7e7814 100644 (file)
@@ -199,6 +199,9 @@ var DimpFullmessage = {
             DimpCore.updateMsgLog(this.log);
         }
 
+        $('dimpLoading').hide();
+        $('pageContainer').show();
+
         this.resizeWindow();
     }
 
index 209bc24..c75aba8 100644 (file)
@@ -23,7 +23,8 @@ function _createDAfmsg($text, $image, $id, $class = '', $show_text = true)
 }
 
 ?>
-<div id="pageContainer">
+<div id="dimpLoading"><?php echo _("Loading...") ?></div>
+<div id="pageContainer" style="display:none">
  <div id="msgData">
   <div class="dimpActions dimpActionsMsg noprint">
    <div class="headercloseimg closeImg" id="windowclose" title="X"></div>