Changeset 5603 for branches/2.2/wp-includes/general-template.php
- Timestamp:
- 05/31/2007 01:31:04 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-includes/general-template.php
r5526 r5603 900 900 edCanvas = document.getElementById('<?php echo $id; ?>'); 901 901 <?php if ( $prev_id && user_can_richedit() ) : ?> 902 // If tinyMCE is defined. 903 if ( typeof tinyMCE != 'undefined' ) { 902 904 // This code is meant to allow tabbing from Title to Post (TinyMCE). 903 if ( tinyMCE.isMSIE ) 904 document.getElementById('<?php echo $prev_id; ?>').onkeydown = function (e) 905 { 905 if ( tinyMCE.isMSIE ) { 906 document.getElementById('<?php echo $prev_id; ?>').onkeydown = function (e) { 906 907 e = e ? e : window.event; 907 908 if (e.keyCode == 9 && !e.shiftKey && !e.controlKey && !e.altKey) { … … 916 917 } 917 918 } 918 else 919 document.getElementById('<?php echo $prev_id; ?>').onkeypress = function (e) 920 { 919 } else { 920 document.getElementById('<?php echo $prev_id; ?>').onkeypress = function (e) { 921 921 e = e ? e : window.event; 922 922 if (e.keyCode == 9 && !e.shiftKey && !e.controlKey && !e.altKey) { … … 931 931 } 932 932 } 933 } 934 } 933 935 <?php endif; ?> 934 936 //-->
Note: See TracChangeset
for help on using the changeset viewer.