- Fix so "Back" from compose/show doesn't reset search request (#1488238)
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Fix so "Back" from compose/show doesn't reset search request (#1488238) |
| | | - Add option to delete messages instead of moving to Trash when in Junk folder (#1486686) |
| | | - Fix invisible cursor when replying to a html message (#1487073) |
| | | - Reset IP stored in session when destroying session data (#1488056) |
| | |
| | | break; |
| | | |
| | | case 'list': |
| | | this.reset_qsearch(); |
| | | if (props && props != '') |
| | | this.reset_qsearch(); |
| | | if (this.task == 'mail') { |
| | | this.list_mailbox(props); |
| | | this.set_button_titles(); |
| | |
| | | url += '&_mbox='+urlencode(this.env.mailbox); |
| | | if (props) |
| | | url += '&_to='+urlencode(props); |
| | | // also send search request so we can go back to search result after message is sent |
| | | if (this.env.search_request) |
| | | url += '&_search='+this.env.search_request; |
| | | } |
| | | // modify url if we're in addressbook |
| | | else if (this.task == 'addressbook') { |
| | |
| | | } |
| | | |
| | | // redirect to a unique URL with all parameters stored in session |
| | | $OUTPUT->redirect(array('_action' => 'compose', '_id' => $COMPOSE['id'])); |
| | | $OUTPUT->redirect(array( |
| | | '_action' => 'compose', |
| | | '_id' => $COMPOSE['id'], |
| | | '_search' => $_REQUEST['_search'], |
| | | )); |
| | | } |
| | | |
| | | |