Changeset 390959b in github
- Timestamp:
- Apr 22, 2012 1:24:06 PM (13 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo
- Children:
- 111f509
- Parents:
- da5cadc
- File:
-
- 1 edited
-
program/js/app.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/js/app.js
rda5cadc r390959b 3267 3267 { 3268 3268 // check input fields 3269 var ed, str = '', 3270 value_to = $("[name='_to']").val(), 3271 value_cc = $("[name='_cc']").val(), 3272 value_bcc = $("[name='_bcc']").val(), 3273 value_subject = $("[name='_subject']").val(); 3274 3275 if (value_to) 3276 str += value_to+':'; 3277 if (value_cc) 3278 str += value_cc+':'; 3279 if (value_bcc) 3280 str += value_bcc+':'; 3281 if (value_subject) 3282 str += value_subject+':'; 3269 var ed, i, val, str = '', hash_fields = ['to', 'cc', 'bcc', 'subject']; 3270 3271 for (i=0; i<hash_fields.length; i++) 3272 if (val = $('[name="_' + hash_fields[i] + '"]').val()) 3273 str += val + ':'; 3283 3274 3284 3275 if (window.tinyMCE && (ed = tinyMCE.get(this.env.composebody))) … … 6234 6225 this.start_keepalive = function() 6235 6226 { 6227 if (!this.env.keep_alive || this.env.framed) 6228 return; 6229 6236 6230 if (this._int) 6237 6231 clearInterval(this._int); 6238 6232 6239 if (this. env.keep_alive && !this.env.framed && this.task == 'mail' && this.gui_objects.mailboxlist)6233 if (this.task == 'mail' && this.gui_objects.mailboxlist) 6240 6234 this._int = setInterval(function(){ ref.check_for_recent(false); }, this.env.keep_alive * 1000); 6241 else if (this. env.keep_alive && !this.env.framed && this.task != 'login' && this.env.action != 'print')6235 else if (this.task != 'login' && this.env.action != 'print') 6242 6236 this._int = setInterval(function(){ ref.keep_alive(); }, this.env.keep_alive * 1000); 6243 6237 }; … … 6300 6294 else if (document.selection && document.selection.createRange) { 6301 6295 var range = document.selection.createRange(); 6302 if (range.parentElement() !=obj)6296 if (range.parentElement() != obj) 6303 6297 return 0; 6304 6298
Note: See TracChangeset
for help on using the changeset viewer.
