Opened 5 years ago
Closed 4 years ago
#1485153 closed Feature Requests (fixed)
app.js - Viewsource from preview pane
| Reported by: | rosali | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3-stable |
| Component: | User Interface | Version: | 0.2-alpha |
| Severity: | normal | Keywords: | |
| Cc: |
Description
please change app.js:
case 'viewsource':
var uid;
if (uid = this.get_single_uid())
{
ref.sourcewin = window.open(this.env.comm_path+'&_action=viewsource&_uid='+uid+'&_mbox='+urlencode(this.env.mailbox));
if (this.sourcewin)
window.setTimeout(function(){ ref.sourcewin.focus(); }, 20);
}
break;
Don't use ... viewsource&_uid='+this.env.uid+' ...
Add onload="parent.rcmail.enable_command('viewsource',true);" onunload="parent.rcmail.enable_command('viewsource', false);"
in body tag of messsagepreview.html template
-Roland
Change History (2)
comment:1 Changed 5 years ago by alec
- Type changed from Bugs to Feature Requests
comment:2 Changed 4 years ago by alec
- Milestone changed from later to 0.3-stable
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Implemented with messagemenu.