summaryrefslogtreecommitdiff
path: root/httemplate/elements/fckeditor/editor/css/behaviors/showtableborders.htc
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/fckeditor/editor/css/behaviors/showtableborders.htc')
-rw-r--r--httemplate/elements/fckeditor/editor/css/behaviors/showtableborders.htc36
1 files changed, 0 insertions, 36 deletions
diff --git a/httemplate/elements/fckeditor/editor/css/behaviors/showtableborders.htc b/httemplate/elements/fckeditor/editor/css/behaviors/showtableborders.htc
deleted file mode 100644
index 77418b9ec..000000000
--- a/httemplate/elements/fckeditor/editor/css/behaviors/showtableborders.htc
+++ /dev/null
@@ -1,36 +0,0 @@
-<public:component lightweight="true">
-
-<public:attach event="oncontentready" onevent="ShowBorders()" />
-<public:attach event="onpropertychange" onevent="OnPropertyChange()" />
-
-<script language="javascript">
-
-var oClassRegex = /\s*FCK__ShowTableBorders/ ;
-
-function ShowBorders()
-{
- if ( this.border == 0 )
- {
- if ( !oClassRegex.test( this.className ) )
- this.className += ' FCK__ShowTableBorders' ;
- }
- else
- {
- if ( oClassRegex.test( this.className ) )
- {
- this.className = this.className.replace( oClassRegex, '' ) ;
- if ( this.className.length == 0 )
- this.removeAttribute( 'className', 0 ) ;
- }
- }
-}
-
-function OnPropertyChange()
-{
- if ( event.propertyName == 'border' || event.propertyName == 'className' )
- ShowBorders.call(this) ;
-}
-
-</script>
-
-</public:component>