Changeset 5894 in subversion
- Timestamp:
- Feb 20, 2012 8:47:26 AM (16 months ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
skins/default/functions.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r5877 r5894 2 2 =========================== 3 3 4 - Make sure About tab is always the last tab (#1488257) 4 5 - Fix issue with folder creation under INBOX. namespace (#1488349) 5 6 - Added mailto: protocol handler registration link in User Preferences (#1486580) -
trunk/roundcubemail/skins/default/functions.js
r5496 r5894 9 9 function rcube_init_settings_tabs() 10 10 { 11 var tab = '#settingstabdefault'; 12 if (window.rcmail && rcmail.env.action) 13 tab = '#settingstab' + (rcmail.env.action=='preferences' ? 'default' : (rcmail.env.action.indexOf('identity')>0 ? 'identities' : rcmail.env.action.replace(/\./g, ''))); 11 var el, cl, container = $('#tabsbar'), 12 last_tab = $('span:last', container), 13 tab = '#settingstabdefault', 14 action = window.rcmail && rcmail.env.action ? rcmail.env.action : null; 15 16 // move About tab to the end 17 if (last_tab && last_tab.attr('id') != 'settingstababout' && (el = $('#settingstababout'))) { 18 cl = el.clone(true); 19 el.remove(); 20 last_tab.after(cl); 21 } 22 23 // get selected tab 24 if (action) 25 tab = '#settingstab' + (action == 'preferences' ? 'default' : (action.indexOf('identity')>0 ? 'identities' : action.replace(/\./g, ''))); 14 26 15 27 $(tab).addClass('tablink-selected'); 16 $( tab + '> a').removeAttr('onclick').click(function() { return false; });28 $(a, tab).removeAttr('onclick').click(function() { return false; }); 17 29 } 18 30
Note: See TracChangeset
for help on using the changeset viewer.
