Changeset 5f0724f in github
- Timestamp:
- Jul 25, 2008 2:42:56 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 3ac95d5
- Parents:
- 6d5dbae
- File:
-
- 1 edited
-
program/js/app.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/js/app.js
r808fb26 r5f0724f 1890 1890 1891 1891 // 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 == '' 1894 1894 && !confirm(this.get_label('nobodywarning'))) 1895 1895 { 1896 1896 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(); 1897 1904 return false; 1898 1905 }
Note: See TracChangeset
for help on using the changeset viewer.
