Changeset 4008 in subversion
- Timestamp:
- Sep 29, 2010 8:24:01 AM (3 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 5 edited
-
CHANGELOG (modified) (1 diff)
-
program/js/app.js (modified) (4 diffs)
-
program/localization/en_US/labels.inc (modified) (1 diff)
-
skins/default/mail.css (modified) (2 diffs)
-
skins/default/templates/compose.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r4007 r4008 3 3 4 4 - Messages caching: performance improvements, fixed syncing, fixes related with #1486748 5 - Add link to identities in compose window (#1486729) 5 6 6 7 RELEASE 0.4.1 -
trunk/roundcubemail/program/js/app.js
r3997 r4008 226 226 } 227 227 else if (this.env.action == 'compose') { 228 this.enable_command('send-attachment', 'remove-attachment', 'send', 'toggle-editor', true); 228 this.env.compose_commands = ['send-attachment', 'remove-attachment', 'send', 'toggle-editor']; 229 230 if (this.env.drafts_mailbox) 231 this.env.compose_commands.push('savedraft') 232 233 this.enable_command(this.env.compose_commands, 'identities', true); 229 234 230 235 if (this.env.spellcheck) { 231 236 this.env.spellcheck.spelling_state_observer = function(s){ ref.set_spellcheck_state(s); }; 237 this.env.compose_commands.push('spellcheck') 232 238 this.set_spellcheck_state('ready'); 233 239 if ($("input[name='_is_html']").val() == '1') 234 240 this.display_spellcheck_controls(false); 235 241 } 236 237 if (this.env.drafts_mailbox)238 this.enable_command('savedraft', true);239 242 240 243 document.onmouseup = function(e){ return p.doc_mouse_up(e); }; … … 426 429 427 430 // check input before leaving compose step 428 if (this.task=='mail' && this.env.action=='compose' 429 && (command == 'list' || command == 'mail' || command == 'addressbook' || command == 'settings')) { 431 if (this.task=='mail' && this.env.action=='compose' && $.inArray(command, this.env.compose_commands)<0) { 430 432 if (this.cmp_hash != this.compose_field_hash() && !confirm(this.get_label('notsentwarning'))) 431 433 return false; … … 975 977 976 978 case 'identities': 977 this.goto_url(' identities');979 this.goto_url('settings/identities'); 978 980 break; 979 981 980 982 case 'folders': 981 this.goto_url(' folders');983 this.goto_url('settings/folders'); 982 984 break; 983 985 … … 2943 2945 2944 2946 // enable manual signature insert 2945 if (this.env.signatures && this.env.signatures[id]) 2947 if (this.env.signatures && this.env.signatures[id]) { 2946 2948 this.enable_command('insert-sig', true); 2949 this.env.compose_commands.push('insert-sig'); 2950 } 2947 2951 else 2948 2952 this.enable_command('insert-sig', false); -
trunk/roundcubemail/program/localization/en_US/labels.inc
r3989 r4008 205 205 $labels['returnreceipt'] = 'Return receipt'; 206 206 207 $labels['editidents'] = 'Edit identities'; 207 208 $labels['checkspelling'] = 'Check spelling'; 208 209 $labels['resumeediting'] = 'Resume editing'; -
trunk/roundcubemail/skins/default/mail.css
r3989 r4008 1234 1234 } 1235 1235 1236 #formlinks a,1237 #formlinks a:visited1236 .formlinks a, 1237 .formlinks a:visited 1238 1238 { 1239 1239 color: #999999; … … 1242 1242 } 1243 1243 1244 #formlinks a,1245 #formlinks a:visited1244 .formlinks a, 1245 .formlinks a:visited 1246 1246 { 1247 1247 color: #CC0000; -
trunk/roundcubemail/skins/default/templates/compose.html
r3814 r4008 54 54 <tr> 55 55 <td class="title"><label for="_from"><roundcube:label name="from" /></label></td> 56 <td class="editfield"><roundcube:object name="composeHeaders" part="from" form="form" id="_from" tabindex="1" /></td> 56 <td class="editfield formlinks"> 57 <roundcube:object name="composeHeaders" part="from" form="form" id="_from" tabindex="1" /> 58 <a href="#identities" onclick="return rcmail.command('identities')"><roundcube:label name="editidents" /></a> 59 </td> 57 60 </tr><tr> 58 61 <td class="title top"><label for="_to"><roundcube:label name="to" /></label></td> … … 78 81 </tr><tr> 79 82 <td></td> 80 <td id="formlinks">83 <td class="formlinks"> 81 84 <a href="#cc" onclick="return rcmail_ui.show_header_form('cc')" id="cc-link"><roundcube:label name="addcc" /></a> 82 85 <span class="separator">|</span>
Note: See TracChangeset
for help on using the changeset viewer.
