thomascube
2007-08-10 31d9efd97d9da09605d4329457ee218cba48f82f
Simplified code + removed debug log

3 files modified
18 ■■■■■ changed files
CHANGELOG 4 ●●●● patch | view | raw | blame | history
program/include/main.inc 5 ●●●● patch | view | raw | blame | history
program/js/app.js 9 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,7 +1,7 @@
CHANGELOG RoundCube Webmail
---------------------------
2007/08/09 (thomasb)
2007/08/10 (thomasb)
----------
- Identify mailboxes case-sensitive
- Sort mailbox list case-insensitive (closes #1484338)
@@ -10,7 +10,7 @@
- Make autocomplete for loginform configurable by the skin template
2007/07/09 (richs)
2007/08/09 (richs)
----------
- Fixed bug with buttons not dimming/enabling properly after switching folders
- Fixed compose window becoming unresponsive after saving a draft (#1484487)
program/include/main.inc
@@ -234,10 +234,7 @@
  // check session filetime
  if (!empty($CONFIG['session_lifetime']) && isset($SESS_CHANGED) && $SESS_CHANGED + $CONFIG['session_lifetime']*60 < time())
    $valid = false;
  if (!$valid)
    write_log('timeouts', $_SESSION + array('SESS_CLIENT_IP' => $SESS_CLIENT_IP, 'SESS_CHANGED' => $SESS_CHANGED, 'COOKIE' => $_COOKIE));
  return $valid;
  }
program/js/app.js
@@ -1683,13 +1683,10 @@
      }
    // check for empty body
    if ((input_message.value=='')&&(tinyMCE == null ? true : (tinyMCE.getContent()=='' || tinyMCE.getContent() == null)))
    if ((input_message.value == '' || (window.tinyMCE && tinyMCE.getContent() == '')) && !confirm(this.get_label('nobodywarning')))
      {
      if (!confirm(this.get_label('nobodywarning')))
        {
        input_message.focus();
        return false;
        }
      input_message.focus();
      return false;
      }
    return true;