update address standardization for cust_location changes
[freeside.git] / rt / share / html / NoAuth / RichText / FCKeditor / editor / _source / classes / fckevents.js
diff --git a/rt/share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckevents.js b/rt/share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckevents.js
deleted file mode 100644 (file)
index 0bae94d..0000000
+++ /dev/null
@@ -1,71 +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
- * FCKEvents Class: used to handle events is a advanced way.\r
- */\r
-\r
-var FCKEvents = function( eventsOwner )\r
-{\r
-       this.Owner = eventsOwner ;\r
-       this._RegisteredEvents = new Object() ;\r
-}\r
-\r
-FCKEvents.prototype.AttachEvent = function( eventName, functionPointer )\r
-{\r
-       var aTargets ;\r
-\r
-       if ( !( aTargets = this._RegisteredEvents[ eventName ] ) )\r
-               this._RegisteredEvents[ eventName ] = [ functionPointer ] ;\r
-       else\r
-       {\r
-               // Check that the event handler isn't already registered with the same listener\r
-               // It doesn't detect function pointers belonging to an object (at least in Gecko)\r
-               if ( aTargets.IndexOf( functionPointer ) == -1 )\r
-                       aTargets.push( functionPointer ) ;\r
-       }\r
-}\r
-\r
-FCKEvents.prototype.FireEvent = function( eventName, params )\r
-{\r
-       var bReturnValue = true ;\r
-\r
-       var oCalls = this._RegisteredEvents[ eventName ] ;\r
-\r
-       if ( oCalls )\r
-       {\r
-               for ( var i = 0 ; i < oCalls.length ; i++ )\r
-               {\r
-                       try\r
-                       {\r
-                               bReturnValue = ( oCalls[ i ]( this.Owner, params ) && bReturnValue ) ;\r
-                       }\r
-                       catch(e)\r
-                       {\r
-                               // Ignore the following error. It may happen if pointing to a\r
-                               // script not anymore available (#934):\r
-                               // -2146823277 = Can't execute code from a freed script\r
-                               if ( e.number != -2146823277 )\r
-                                       throw e ;\r
-                       }\r
-               }\r
-       }\r
-\r
-       return bReturnValue ;\r
-}\r