update address standardization for cust_location changes
[freeside.git] / rt / share / html / NoAuth / RichText / FCKeditor / editor / _source / commandclasses / fckstylecommand.js
diff --git a/rt/share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckstylecommand.js b/rt/share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckstylecommand.js
deleted file mode 100644 (file)
index dc220f4..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*\r
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
- * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r
- *\r
- * == BEGIN LICENSE ==\r
- *\r
- * Licensed under the terms of any of the following licenses at your\r
- * choice:\r
- *\r
- *  - GNU General Public License Version 2 or later (the "GPL")\r
- *    http://www.gnu.org/licenses/gpl.html\r
- *\r
- *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
- *    http://www.gnu.org/licenses/lgpl.html\r
- *\r
- *  - Mozilla Public License Version 1.1 or later (the "MPL")\r
- *    http://www.mozilla.org/MPL/MPL-1.1.html\r
- *\r
- * == END LICENSE ==\r
- *\r
- * FCKStyleCommand Class: represents the "Style" command.\r
- */\r
-\r
-var FCKStyleCommand = function()\r
-{}\r
-\r
-FCKStyleCommand.prototype =\r
-{\r
-       Name : 'Style',\r
-\r
-       Execute : function( styleName, styleComboItem )\r
-       {\r
-               FCKUndo.SaveUndoStep() ;\r
-\r
-               if ( styleComboItem.Selected )\r
-                       FCK.Styles.RemoveStyle( styleComboItem.Style ) ;\r
-               else\r
-                       FCK.Styles.ApplyStyle( styleComboItem.Style ) ;\r
-\r
-               FCKUndo.SaveUndoStep() ;\r
-\r
-               FCK.Focus() ;\r
-               FCK.Events.FireEvent( 'OnSelectionChange' ) ;\r
-       },\r
-\r
-       GetState : function()\r
-       {\r
-               if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG || !FCK.EditorDocument )\r
-                       return FCK_TRISTATE_DISABLED ;\r
-\r
-               if ( FCKSelection.GetType() == 'Control' )\r
-               {\r
-                       var el = FCKSelection.GetSelectedElement() ;\r
-                       if ( !el || !FCKStyles.CheckHasObjectStyle( el.nodeName.toLowerCase() ) )\r
-                               return FCK_TRISTATE_DISABLED ;\r
-               }\r
-\r
-               return FCK_TRISTATE_OFF ;\r
-       }\r
-};\r