changeset 712:1abc331099b7

Merge.
author Brian Neal <bgneal@gmail.com>
date Tue, 17 Sep 2013 18:23:28 -0500
parents c09ed90c891b (diff) e1153e58162f (current diff)
children 859620244c4a
files
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/messages/static/js/tabbed_messages.js	Sun Sep 15 21:25:54 2013 -0500
+++ b/messages/static/js/tabbed_messages.js	Tue Sep 17 18:23:28 2013 -0500
@@ -18,7 +18,13 @@
       },
       load: function(event, ui) {
          selectedTab = ui;
-         if (doReply && ui.tab.index() == 1)
+
+         if (ui.tab.index() == 1 && receiver && !doReply)
+         {
+            $('#id_receiver').val(receiver);
+            receiver = '';
+         }
+         else if (doReply && ui.tab.index() == 1)
          {
             doReply = false;
             var msg = msgCache[$msgDialog.msgId];