Changeset 5f0724f in github


Ignore:
Timestamp:
Jul 25, 2008 2:42:56 PM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
3ac95d5
Parents:
6d5dbae
Message:

#1485143: fixed empty body validation errors on IE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/js/app.js

    r808fb26 r5f0724f  
    18901890 
    18911891    // check for empty body 
    1892     if ((((!window.tinyMCE || !tinyMCE.get('compose-body')) && input_message.value == '') 
    1893         || (window.tinyMCE && tinyMCE.get('compose-body') && tinyMCE.get('compose-body').getContent() == '')) 
     1892    if ((!window.tinyMCE || !tinyMCE.get('compose-body')) 
     1893        && input_message.value == '' 
    18941894        && !confirm(this.get_label('nobodywarning'))) 
    18951895      { 
    18961896      input_message.focus(); 
     1897      return false; 
     1898      } 
     1899    else if (window.tinyMCE && tinyMCE.get('compose-body') 
     1900        && !tinyMCE.get('compose-body').getContent() 
     1901        && !confirm(this.get_label('nobodywarning'))) 
     1902      { 
     1903      tinyMCE.get('compose-body').focus(); 
    18971904      return false; 
    18981905      } 
Note: See TracChangeset for help on using the changeset viewer.