Julio Montoya 14 years ago
parent
commit
2fd489360f

+ 1 - 0
main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin_load.js

@@ -35,6 +35,7 @@ FCKPlugin.prototype.Load = function()
         case 'tablecommands':
         case 'ImageManager':
         case 'prompt':
+        case 'tableoneclick':
             // In this case we have to clear the list of available languages.
             this.AvailableLangs = null ;
             this.AvailableLangs = new Array() ;

+ 1 - 1
main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin_load_compressed.js

@@ -1 +1 @@
-FCKPlugin.prototype.Load=function(){switch (this.Name){case 'dragresizetable':case 'tablecommands':case 'ImageManager':case 'prompt':this.AvailableLangs=null;this.AvailableLangs=[];break;case 'asciimath':case 'asciisvg':case 'customizations':case 'audio':case 'fckEmbedMovies':case 'flvPlayer':case 'youtube':case 'googlemaps':case 'mimetex':case 'wikilink':case 'imgmap':break;default:LoadScript(this.Path+'lang/en.js');};if (this.AvailableLangs.length>0){var A;if (this.AvailableLangs.IndexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];LoadScript(this.Path+'lang/'+A+'.js');};var B;switch (this.Name){case 'asciimath':case 'asciisvg':case 'audio':case 'autogrow':case 'customizations':case 'dragresizetable':case 'fckEmbedMovies':case 'flvPlayer':case 'googlemaps':case 'ImageManager':case 'imgmap':case 'mimetex':case 'prompt':case 'tablecommands':case 'wikilink':case 'youtube':B=(window.document.location.toString().indexOf('fckeditor.original.html')!=-1)?'fckplugin.js':'fckplugin_compressed.js';break;default:B='fckplugin.js';};LoadScript(this.Path+B);};
+FCKPlugin.prototype.Load=function(){switch (this.Name){case 'dragresizetable':case 'tablecommands':case 'ImageManager':case 'prompt':case 'tableoneclick':this.AvailableLangs=null;this.AvailableLangs=[];break;case 'asciimath':case 'asciisvg':case 'customizations':case 'audio':case 'fckEmbedMovies':case 'flvPlayer':case 'youtube':case 'googlemaps':case 'mimetex':case 'wikilink':case 'imgmap':break;default:LoadScript(this.Path+'lang/en.js');};if (this.AvailableLangs.length>0){var A;if (this.AvailableLangs.IndexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];LoadScript(this.Path+'lang/'+A+'.js');};var B;switch (this.Name){case 'asciimath':case 'asciisvg':case 'audio':case 'autogrow':case 'customizations':case 'dragresizetable':case 'fckEmbedMovies':case 'flvPlayer':case 'googlemaps':case 'ImageManager':case 'imgmap':case 'mimetex':case 'prompt':case 'tablecommands':case 'wikilink':case 'youtube':B=(window.document.location.toString().indexOf('fckeditor.original.html')!=-1)?'fckplugin.js':'fckplugin_compressed.js';break;default:B='fckplugin.js';};LoadScript(this.Path+B);};