Changeset 667 in subversion


Ignore:
Timestamp:
Aug 9, 2007 5:55:14 PM (6 years ago)
Author:
richs
Message:

Fixes interface lock-up issues and minor bugs (richs)

Location:
trunk/roundcubemail
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/.htaccess

    r666 r667  
    33php_flag        log_errors      On 
    44php_value       error_log       logs/errors 
    5 php_value       upload_max_filesize     2M 
     5php_value       upload_max_filesize     5M 
    66 
    77<FilesMatch "(\.inc|\~)$"> 
  • trunk/roundcubemail/CHANGELOG

    r639 r667  
    11CHANGELOG RoundCube Webmail 
    22--------------------------- 
     3 
     42007/07/09 (richs) 
     5---------- 
     6- Fixed bug with buttons not dimming/enabling properly after switching folders 
     7- Fixed compose window becoming unresponsive after saving a draft (#1484487) 
     8- Re-enabled "Back" button in compose window now that bug #1484487 is fixed 
     9- Fixed unresponsive interface issue when downloading attachments (#1484496) 
     10- Lowered status message time from 5 to 3 seconds to improve responsiveness 
     11- Added note to INSTALL about .htaccess limiting upload_max_filesize 
     12- Raised .htaccess upload_max_filesize from 2M to 5M to differ from default php.ini 
     13- Increased "mailboxcontrols" mail.css width from 160 to 170px to fix non-english languages  
     14- Fixed empty-message sending with TinyMCE plain-text mode, or if it's not installed 
    315 
    4162007/07/03 (thomasb) 
  • trunk/roundcubemail/INSTALL

    r571 r667  
    104104Details about the config paramaters can be found in the config files. 
    105105 
     106You can also modify the default .htaccess file. This is necessary to 
     107increase the allowed size of file attachments, for example: 
     108        php_value       upload_max_filesize     2M 
    106109 
    107110UPGRADING 
  • trunk/roundcubemail/program/js/app.js

    r637 r667  
    3636  // webmail client settings 
    3737  this.dblclick_time = 500; 
    38   this.message_time = 5000; 
     38  this.message_time = 3000; 
    3939   
    4040  this.identifier_expr = new RegExp('[^0-9a-z\-_]', 'gi'); 
     
    695695          } 
    696696 
    697         this.goto_url('get', qstring+'&_download=1'); 
     697        this.goto_url('get', qstring+'&_download=1', false); 
    698698        break; 
    699699         
     
    10641064      this.command('moveto', id); 
    10651065      } 
    1066    
     1066 
     1067    // Hide message command buttons until a message is selected  
     1068    this.enable_command('reply', 'reply-all', 'forward', 'delete', 'print', false);  
    10671069    return false; 
    10681070    }; 
     
    10891091 
    10901092    var selected = list.selection.length==1; 
     1093 
     1094    // Hide certain command buttons when Drafts folder is selected 
    10911095    if (this.env.mailbox == this.env.drafts_mailbox) 
    10921096      { 
    1093       this.enable_command('show', selected); 
    1094       this.enable_command('delete', 'moveto', list.selection.length>0 ? true : false); 
     1097      this.enable_command('reply', 'reply-all', 'forward', false); 
     1098      this.enable_command('show', 'delete', 'moveto', selected); 
    10951099      } 
    10961100    else 
    10971101      { 
    1098       this.enable_command('show', 'reply', 'reply-all', 'forward', 'print', selected); 
    1099       this.enable_command('delete', 'moveto', list.selection.length>0 ? true : false); 
     1102      this.enable_command('show', 'reply', 'reply-all', 'forward', 'print', 'delete', 'moveto', selected); 
    11001103      } 
    11011104 
     
    16811684 
    16821685    // check for empty body 
    1683     if ((input_message.value=='')&&(tinyMCE.getContent()=='')) 
     1686    if ((input_message.value=='')&&(tinyMCE == null ? true : (tinyMCE.getContent()=='' || tinyMCE.getContent() == null))) 
    16841687      { 
    16851688      if (!confirm(this.get_label('nobodywarning'))) 
     
    17121715    if (this.env.draft_autosave) 
    17131716      this.save_timer = self.setTimeout(function(){ ref.command("savedraft"); }, this.env.draft_autosave * 1000); 
     1717 
     1718    // Unlock interface now that saving is complete 
     1719    this.busy = false; 
    17141720    }; 
    17151721 
     
    31883194  /********************************************************/ 
    31893195 
    3190   this.redirect = function(url) 
    3191     { 
    3192     this.set_busy(true); 
     3196  this.redirect = function(url, lock) 
     3197    { 
     3198    if (lock || lock == NULL) 
     3199      this.set_busy(true); 
     3200 
    31933201    if (this.env.framed && window.parent) 
    31943202      parent.location.href = url; 
     
    31993207  this.goto_url = function(action, query, lock) 
    32003208    { 
    3201     if (lock) 
    3202     this.set_busy(true); 
    3203  
    32043209    var querystring = query ? '&'+query : ''; 
    3205     this.redirect(this.env.comm_path+'&_action='+action+querystring); 
     3210    this.redirect(this.env.comm_path+'&_action='+action+querystring, lock); 
    32063211    }; 
    32073212 
  • trunk/roundcubemail/skins/default/mail.css

    r576 r667  
    339339  position: absolute; 
    340340  left: 20px; 
    341   width: 160px; 
     341  width: 170px; 
    342342  bottom: 20px; 
    343343  height: 16px; 
  • trunk/roundcubemail/skins/default/templates/compose.html

    r565 r667  
    3232 
    3333<div id="messagetoolbar"> 
    34 <!--<roundcube:button command="list" image="/images/buttons/back_act.png" imageSel="/images/buttons/back_sel.png" imageAct="/images/buttons/back_act.png" width="32" height="32" title="backtolist" />--> 
     34<roundcube:button command="list" image="/images/buttons/back_act.png" imageSel="/images/buttons/back_sel.png" imageAct="/images/buttons/back_act.png" width="32" height="32" title="backtolist" /> 
    3535<roundcube:button command="send" imageSel="/images/buttons/send_sel.png" imageAct="/images/buttons/send_act.png" imagePas="/images/buttons/send_pas.png" width="32" height="32" title="sendmessage" /> 
    3636<roundcube:button command="spellcheck" imageSel="/images/buttons/spellcheck_sel.png" imageAct="/images/buttons/spellcheck_act.png" imagePas="/images/buttons/spellcheck_pas.png" width="32" height="32" title="checkspelling" /> 
Note: See TracChangeset for help on using the changeset viewer.