[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 /* 2 * FCKeditor - The text editor for internet 3 * Copyright (C) 2003-2005 Frederico Caldeira Knabben 4 * 5 * Licensed under the terms of the GNU Lesser General Public License: 6 * http://www.opensource.org/licenses/lgpl-license.php 7 * 8 * For further information visit: 9 * http://www.fckeditor.net/ 10 * 11 * "Support Open Source software. What about a donation today?" 12 * 13 * File Name: fckeditorapi.js 14 * Create the FCKeditorAPI object that is available as a global object in 15 * the page where the editor is placed in. 16 * 17 * File Authors: 18 * Frederico Caldeira Knabben (fredck@fckeditor.net) 19 */ 20 21 var FCKeditorAPI ; 22 23 function FCKeditorAPI_GetInstance( instanceName ) 24 { 25 return this.__Instances[ instanceName ] ; 26 } 27 28 if ( !window.parent.FCKeditorAPI ) 29 { 30 // Make the FCKeditorAPI object available in the parent window. 31 FCKeditorAPI = window.parent.FCKeditorAPI = new Object() ; 32 FCKeditorAPI.__Instances = new Object() ; 33 34 // Set the current version. 35 FCKeditorAPI.Version = '2.2' ; 36 37 // Function used to get a instance of an existing editor present in the 38 // page. 39 FCKeditorAPI.GetInstance = FCKeditorAPI_GetInstance ; 40 } 41 else 42 FCKeditorAPI = window.parent.FCKeditorAPI ; 43 44 // Add the current instance to the FCKeditorAPI's instances collection. 45 FCKeditorAPI.__Instances[ FCK.Name ] = FCK ;
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |