comparison gpp/messages/static/js/tabbed_messages.js @ 428:77b3b01843b5

Gave the beta private messages a 'compose to' view. Tweaked the color of the tables to match the jquery ui theme.
author Brian Neal <bgneal@gmail.com>
date Sun, 01 May 2011 02:11:48 +0000
parents 76ba9478ebbd
children d0f0800eef0c
comparison
equal deleted inserted replaced
427:85d7b62d5c17 428:77b3b01843b5
4 select: function(event, ui) { 4 select: function(event, ui) {
5 $(ui.panel).html(''); 5 $(ui.panel).html('');
6 }, 6 },
7 load: function(event, ui) { 7 load: function(event, ui) {
8 selectedTab = ui; 8 selectedTab = ui;
9 if (doReply && ui.index == 1) 9 if (ui.index == 1 && receiver && !doReply)
10 {
11 $('#id_receiver').val(receiver);
12 receiver = '';
13 }
14 else if (doReply && ui.index == 1)
10 { 15 {
11 doReply = false; 16 doReply = false;
12 var msg = msgCache[$msgDialog.msgId]; 17 var msg = msgCache[$msgDialog.msgId];
13 $('#id_receiver').val(msg.sender); 18 $('#id_receiver').val(msg.sender);
14 $('#id_subject').val(msg.re_subject); 19 $('#id_subject').val(msg.re_subject);