Changeset 1805
- Timestamp:
- 2008-03-26 09:38:26 (7 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 14 modified
-
editor/dialog/fck_link/fck_link.js (modified) (2 diffs)
-
editor/filemanager/browser/default/js/fckxml.js (modified) (1 diff)
-
editor/filemanager/connectors/lasso/connector.lasso (modified) (4 diffs)
-
editor/filemanager/connectors/php/io.php (modified) (1 diff)
-
editor/filemanager/connectors/test.html (modified) (1 diff)
-
editor/filemanager/connectors/uploadtest.html (modified) (3 diffs)
-
editor/_source/classes/fckpanel.js (modified) (1 diff)
-
editor/_source/classes/fckstyle.js (modified) (1 diff)
-
editor/_source/fckeditorapi.js (modified) (1 diff)
-
editor/_source/internals/fckdialog.js (modified) (1 diff)
-
editor/_source/internals/fckdocumentprocessor.js (modified) (1 diff)
-
editor/_source/internals/fckselection_ie.js (modified) (3 diffs)
-
_test/automated/tests/fckdomtools.html (modified) (5 diffs)
-
_whatsnew.html (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/dialog/fck_link/fck_link.js
r1795 r1805 160 160 // Activate the "OK" button. 161 161 dialog.SetOkButton( true ) ; 162 162 163 163 // Select the first field. 164 164 switch( GetE('cmbLinkType').value ) … … 170 170 SelectField( 'txtEMailAddress' ) ; 171 171 break ; 172 case 'anchor' : 172 case 'anchor' : 173 173 if ( GetE('divSelAnchor').style.display != 'none' ) 174 174 SelectField( 'cmbAnchorName' ) ; -
FCKeditor/trunk/editor/filemanager/browser/default/js/fckxml.js
r1772 r1805 32 32 { 33 33 // Gecko / IE7 34 try { return new XMLHttpRequest(); } 34 try { return new XMLHttpRequest(); } 35 35 catch(e) {} 36 36 -
FCKeditor/trunk/editor/filemanager/connectors/lasso/connector.lasso
r1797 r1805 59 59 Custom tag sets the HTML response. 60 60 */ 61 61 62 62 define_tag( 63 63 'htmlreply', … … 114 114 /if; 115 115 /define_tag; 116 116 117 117 118 118 /*..................................................................... … … 138 138 /if; 139 139 else; 140 140 141 141 /*..................................................................... 142 142 Build the appropriate response per the 'Command' parameter. Wrap the … … 226 226 $uploadResult = '202'; 227 227 /if; 228 228 229 229 if($uploadResult == '0'); 230 230 /*..................................................... -
FCKeditor/trunk/editor/filemanager/connectors/php/io.php
r1797 r1805 230 230 231 231 // Check the current folder syntax (must begin and start with a slash). 232 if ( !preg_match( '|/$|', $sCurrentFolder ) ) 232 if ( !preg_match( '|/$|', $sCurrentFolder ) ) 233 233 $sCurrentFolder .= '/' ; 234 if ( strpos( $sCurrentFolder, '/' ) !== 0 ) 234 if ( strpos( $sCurrentFolder, '/' ) !== 0 ) 235 235 $sCurrentFolder = '/' . $sCurrentFolder ; 236 236 -
FCKeditor/trunk/editor/filemanager/connectors/test.html
r1794 r1805 58 58 } 59 59 } 60 })() ; 61 60 })() ; 61 62 62 function BuildBaseUrl( command ) 63 63 { -
FCKeditor/trunk/editor/filemanager/connectors/uploadtest.html
r1796 r1805 57 57 } 58 58 } 59 })() ; 60 59 })() ; 60 61 61 function SendFile() 62 62 { … … 76 76 77 77 var date = new Date() 78 78 79 79 frmUpload.action = sUploaderUrl + '?time=' + date.getTime(); 80 80 if (document.getElementById('cmbType').value) { … … 168 168 Upload a new file:<br> 169 169 <input type="file" name="NewFile"><br> 170 170 171 171 <input type="button" value="Send it to the Server" onclick="SendFile();"> 172 172 </form> -
FCKeditor/trunk/editor/_source/classes/fckpanel.js
r1762 r1805 310 310 this._IsOpened = false ; 311 311 312 if ( this._resizeTimer ) 313 { 314 clearTimeout( this._resizeTimer ) ; 315 this._resizeTimer = null ; 316 } 312 if ( this._resizeTimer ) 313 { 314 clearTimeout( this._resizeTimer ) ; 315 this._resizeTimer = null ; 316 } 317 317 318 318 if ( this.ParentPanel ) -
FCKeditor/trunk/editor/_source/classes/fckstyle.js
r1740 r1805 820 820 results.push( value ) ; 821 821 } ) ; 822 822 823 823 // Assigning innerHTML to <PRE> in IE causes all linebreaks to be reduced to spaces. 824 824 // Assigning outerHTML to <PRE> in IE doesn't work if the <PRE> isn't contained in another node -
FCKeditor/trunk/editor/_source/fckeditorapi.js
r1713 r1805 130 130 131 131 FCKeditorAPI = oParentWindow.FCKeditorAPI ; 132 132 133 133 // The __Instances properly has been changed to the public Instances, 134 134 // but we should still have the "deprecated" version of it. -
FCKeditor/trunk/editor/_source/internals/fckdialog.js
r1795 r1805 75 75 } ) ; 76 76 } 77 77 78 78 var resetStyles = function( element ) 79 79 { -
FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js
r1790 r1805 246 246 return ; 247 247 fakeImg.className = 'FCK__Flash' ; 248 fakeImg.setAttribute( '_fckflash', 'true', 0 ); 248 fakeImg.setAttribute( '_fckflash', 'true', 0 ); 249 249 } ) ; -
FCKeditor/trunk/editor/_source/internals/fckselection_ie.js
r1795 r1805 216 216 217 217 var editorDocument = FCK.EditorDocument ; 218 218 219 219 if ( !editorDocument ) 220 220 return ; … … 246 246 FCK.IsSelectionChangeLocked = true ; 247 247 248 try 248 try 249 249 { 250 250 this.SelectionData.select() ; … … 258 258 FCKSelection.Release = function() 259 259 { 260 delete this.SelectionData ; 261 } 260 delete this.SelectionData ; 261 } -
FCKeditor/trunk/_test/automated/tests/fckdomtools.html
r1714 r1805 117 117 { 118 118 var p = document.getElementById( 'xBreakParent_P1' ) ; 119 119 120 120 FCKDomTools.BreakParent( p.getElementsByTagName('span')[0], p.getElementsByTagName('i')[0] ) ; 121 121 … … 126 126 { 127 127 var p = document.getElementById( 'xBreakParent_P1' ) ; 128 128 129 129 FCKDomTools.BreakParent( p.getElementsByTagName('span')[0], p.getElementsByTagName('b')[0] ) ; 130 130 … … 135 135 { 136 136 var p = document.getElementById( 'xBreakParent_P2' ) ; 137 137 138 138 FCKDomTools.BreakParent( p.getElementsByTagName('span')[0], p.getElementsByTagName('i')[0] ) ; 139 139 … … 144 144 { 145 145 var p = document.getElementById( 'xBreakParent_P2' ) ; 146 146 147 147 FCKDomTools.BreakParent( p.getElementsByTagName('span')[0], p.getElementsByTagName('b')[0] ) ; 148 148 … … 153 153 { 154 154 var p = document.getElementById( 'xBreakParent_P2' ) ; 155 155 156 156 FCKDomTools.BreakParent( p.getElementsByTagName('i')[0], p.getElementsByTagName('b')[0] ) ; 157 157 -
FCKeditor/trunk/_whatsnew.html
r1804 r1805 70 70 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1933">#1933</a>] Placeholder 71 71 dialog will now display the placeholder value correctly in IE.</li> 72 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing Enter73 or typing after a placeholder with the placeholder plugin will no longer generate72 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing 73 Enter or typing after a placeholder with the placeholder plugin will no longer generate 74 74 colored text.</li> 75 75 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1952">#1952</a>] Fixed … … 77 77 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1695">#1695</a>] Removed 78 78 Ctrl-Tab hotkey for Source mode and allowed Ctrl-T to work in Firefox.</li> 79 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed 79 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed 80 80 permission denied errors during opening popup menus in IE6 under domain relaxation 81 81 mode.</li> 82 82 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1934">#1934</a>] Fixed 83 83 JavaScript errors when calling Selection.EnsureSelection() in dialogs.</li> 84 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed SSL 85 warning message when opening image and flash dialogs under HTTPS in IE6.</li> 86 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] 87 [<a target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>] 88 [<a target="_blank" href="http://dev.fckeditor.net/ticket/1985">#1985</a>] 89 [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>] 84 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed 85 SSL warning message when opening image and flash dialogs under HTTPS in IE6.</li> 86 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] [<a 87 target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>] [<a target="_blank" 88 href="http://dev.fckeditor.net/ticket/1985">#1985</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>] 90 89 Fixed XHTML source formatting errors in non-IE browsers.</li> 91 90 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The # 92 91 character is now properly encoded in file names returned by the File Browser.</li> 93 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New 94 folders and file names are now properly sanitized against control characters. 95 </li> 96 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash 92 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New folders 93 and file names are now properly sanitized against control characters. </li> 94 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash 97 95 character is now disallowed in current folder path.</li> 98 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added logic99 to override JavaScript errors occurring inside the editing frame due to user added100 JavaScript code.</li>96 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added 97 logic to override JavaScript errors occurring inside the editing frame due to user 98 added JavaScript code.</li> 101 99 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1647">#1647</a>] Hitting 102 100 ENTER on list items containing block elements will now create new list item elements, … … 110 108 CSS <style> tags where being outputted when FullPage=true.</li> 111 109 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link 112 dialog now properly selects the first field when opening it to modify mailto or anchor113 links. This problem was also throwing an error in IE.</li>110 dialog now properly selects the first field when opening it to modify mailto or 111 anchor links. This problem was also throwing an error in IE.</li> 114 112 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2021">#2021</a>] The caret 115 113 will no longer remain behind in the editing area when the placeholder dialog is … … 119 117 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1853">#1853</a>] Setting 120 118 ShiftEnterMode to p or div now works correctly when EnterMode is br.</li> 121 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed the122 issue where context menus sometimes don't disappear after selecting an option.123 </li>119 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed 120 the issue where context menus sometimes don't disappear after selecting an option. 121 </li> 124 122 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed 125 123 JavaScript error when EnterMode=br and user tries to insert a page break.</li> … … 127 125 the issue where the maximize editor button does not vertically expand the editing 128 126 area in Firefox.</li> 129 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration: 127 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration: 130 128 fixed filename encoding problems in file browser.</li> 131 129 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling 132 FCK.InsertHtml() in non-IE browsers would now activate the document processor133 asexpected.</li>130 FCK.InsertHtml() in non-IE browsers would now activate the document processor as 131 expected.</li> 134 132 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1998">#1998</a>] The native 135 133 XMLHttpRequest class is now used in IE, whenever it is available.</li> … … 145 143 command was throwing an error if executed in an editor where its relative button 146 144 is not present in the toolbar.</li> 147 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented a148 generic document processor for <OBJECT> and <EMBED> tags.</li>149 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed the150 issue where the placeholder icon for <EMBED> tags does not always show up151 in IE7.</li>152 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed a153 deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li>145 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented 146 a generic document processor for <OBJECT> and <EMBED> tags.</li> 147 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed 148 the issue where the placeholder icon for <EMBED> tags does not always show 149 up in IE7.</li> 150 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed 151 a deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li> 154 152 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1806">#1806</a>] In IE, 155 153 the caret will not any more move to the previous line when selecting a Format style … … 297 295 to file browser has been changed to avoid requests containing double dots.</li> 298 296 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting 299 multiple contiguous paragraphs to Formatted will now be merged into a single 300 <PRE>block.</li>297 multiple contiguous paragraphs to Formatted will now be merged into a single <PRE> 298 block.</li> 301 299 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1627">#1627</a>] Samples 302 300 failed to load from local filesystem in IE7.</li>