Changeset 485
- Timestamp:
- 2007-07-20 11:57:45 (17 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckconfig.js
r483 r485 161 161 FCKConfig.ProtectedSource = new Object() ; 162 162 163 FCKConfig.ProtectedSource._GenerateCodeTag = function() 164 { 165 if ( this._CodeTag ) 166 return ; 167 var codeTag = [] ; 168 for ( var i = 0 ; i < 16 ; i++ ) 169 codeTag.push( String.fromCharCode( 0x41 + parseInt( Math.random() * 26 ) ) ) ; 170 this._CodeTag = codeTag.join( "" ) ; 171 } 172 FCKConfig.ProtectedSource._GenerateCodeTag() ; 163 // Generates a string used to identify and locate the Protected Tags comments. 164 FCKConfig.ProtectedSource._CodeTag = (new Date()).valueOf() ; 173 165 174 166 // Initialize the regex array with the default ones.