Changeset 6054 in subversion


Ignore:
Timestamp:
Apr 10, 2012 3:02:45 AM (14 months ago)
Author:
alec
Message:
  • Fix so "Back" from compose/show doesn't reset search request (#1488238)
Location:
trunk/roundcubemail
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r6052 r6054  
    22=========================== 
    33 
     4- Fix so "Back" from compose/show doesn't reset search request (#1488238) 
    45- Add option to delete messages instead of moving to Trash when in Junk folder (#1486686) 
    56- Fix invisible cursor when replying to a html message (#1487073) 
  • trunk/roundcubemail/program/js/app.js

    r6053 r6054  
    570570 
    571571      case 'list': 
    572         this.reset_qsearch(); 
     572        if (props && props != '') 
     573          this.reset_qsearch(); 
    573574        if (this.task == 'mail') { 
    574575          this.list_mailbox(props); 
     
    858859          if (props) 
    859860             url += '&_to='+urlencode(props); 
     861          // also send search request so we can go back to search result after message is sent 
     862          if (this.env.search_request) 
     863            url += '&_search='+this.env.search_request; 
    860864        } 
    861865        // modify url if we're in addressbook 
  • trunk/roundcubemail/program/steps/mail/compose.inc

    r6028 r6054  
    119119 
    120120  // redirect to a unique URL with all parameters stored in session 
    121   $OUTPUT->redirect(array('_action' => 'compose', '_id' => $COMPOSE['id'])); 
     121  $OUTPUT->redirect(array( 
     122    '_action' => 'compose', 
     123    '_id'     => $COMPOSE['id'], 
     124    '_search' => $_REQUEST['_search'], 
     125  )); 
    122126} 
    123127 
Note: See TracChangeset for help on using the changeset viewer.