diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-10-11 22:24:24 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-10-11 22:24:24 -0400 |
commit | f4f34fe7c01a881f73221e14bd5c7ab0a4d3c9f8 (patch) | |
tree | 37b3250c08f7b25361a09a45a8dd9316e65c4f8b /media/forms/cmxform.js | |
parent | e6c1febc4b37c4d74cad3cecbc079f888481c27b (diff) |
drop some extra media (may have to restore)
Diffstat (limited to 'media/forms/cmxform.js')
-rw-r--r-- | media/forms/cmxform.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/media/forms/cmxform.js b/media/forms/cmxform.js deleted file mode 100644 index 0b7973d6..00000000 --- a/media/forms/cmxform.js +++ /dev/null @@ -1,22 +0,0 @@ -if( document.addEventListener ) document.addEventListener( 'DOMContentLoaded', cmxform, false );
-
-function cmxform(){
- // Hide forms
- $( 'form.cmxform' ).hide().end();
-
- // Processing
- $( 'form.cmxform' ).find( 'li/label' ).not( '.nocmx' ).each( function( i ){
- var labelContent = this.innerHTML;
- var labelWidth = document.defaultView.getComputedStyle( this, '' ).getPropertyValue( 'width' );
- var labelSpan = document.createElement( 'span' );
- labelSpan.style.display = 'block';
- labelSpan.style.width = labelWidth;
- labelSpan.innerHTML = labelContent;
- this.style.display = '-moz-inline-box';
- this.innerHTML = null;
- this.appendChild( labelSpan );
- } ).end();
-
- // Show forms
- $( 'form.cmxform' ).show().end();
-}
\ No newline at end of file |