Changeset 7593
- Timestamp:
- 12/03/12 16:50:54 (11 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r7591 r7593 2466 2466 } 2467 2467 } 2468 content.find(".to").focus();2468 RichTextEditor.dataReady(new_border_ID,'forward'); 2469 2469 2470 2470 break; -
trunk/expressoMail1_2/js/rich_text_editor.js
r7568 r7593 255 255 CKEDITOR.instances[id].setData(data); 256 256 } 257 cRichTextEditor.prototype.dataReady = function(id,reply) 258 { 259 var content = $("#content_id_"+id); 260 if (this.plain[id]){ 261 if (reply === 'forward') 262 setTimeout(function(){content.find('.new-message-input.to').blur().focus();},400); 263 } 264 else{ 265 CKEDITOR.instances['body_'+id].on('dataReady',function(e){ 266 if (reply === 'forward' ){ 267 setTimeout(function(){ 268 content.find('.new-message-input.to').blur().focus(); 269 },400); 270 } 271 }); 272 } 273 } 257 274 cRichTextEditor.prototype.setInitData = function (id,data,reply,recursion, callback){ 258 275 var content = $("#content_id_"+id);
Note: See TracChangeset
for help on using the changeset viewer.