]> git.mjollnir.org Git - moodle.git/commitdiff
Old messages are no longer replaced by new messages in the messages
authormoodler <moodler>
Tue, 11 Jan 2005 05:09:08 +0000 (05:09 +0000)
committermoodler <moodler>
Tue, 11 Jan 2005 05:09:08 +0000 (05:09 +0000)
pane of the discussion window

message/user.php

index 144bb4a9e514c7718d49a270131492861ffc64ba..f221b9c1953f2513b87210cc38259e8d83625c36 100644 (file)
               scrolling="no"  marginwidth="2" marginheight="2">
      </frameset>
      <noframes>Sorry, but support for Frames is required to use Messaging</noframes>
+
+     <!-- The following is a wierd hack that makes ADDING text to the *messages* frame work later.
+          Don't ask me why, I don't know, but it works.  -->
+     <script language="Javascript">
+        info.document.location.replace('<?php echo "$CFG->wwwroot/message/user.php?id=$user->id&frame=info"?>');
+     </script>
+
     </html>
     <?php
     }