option.
- Changing your JavaScript preference required a re-login to work.
Fixes #983614.
+ - Fix listcommands plugin to behave like normal reply/compose
+ links, and return to message page that originally called from.
Version 1.5.0
--------------------
}
function plugin_listcommands_menu() {
- global $passed_id, $passed_ent_id, $color, $mailbox, $message;
+ global $passed_id, $passed_ent_id, $color, $mailbox, $message, $startMessage;
/**
* Array of commands we can deal with from the header. The Reply option
if ($proto == 'mailto') {
if (($cmd == 'post') || ($cmd == 'owner')) {
- $url = 'src/compose.php?';
+ $url = 'src/compose.php?'.
+ (isset($startMessage)?'startMessage='.$startMessage.'&'?'');
} else {
$url = "plugins/listcommands/mailout.php?action=$cmd&";
}
}
}
-?>
\ No newline at end of file
+?>