Revision 1359
Added by Dietmar over 13 years ago
fckwbdroplets.js | ||
---|---|---|
1 |
// Function to set special attributes. Copied from FCK Core function |
|
2 |
function SetAttribute( element, attName, attValue ) |
|
3 |
{ |
|
4 |
if ( attValue == null || attValue.length == 0 ) |
|
5 |
element.removeAttribute( attName, 0 ) ; // 0 : Case Insensitive |
|
6 |
else |
|
7 |
element.setAttribute( attName, attValue, 0 ) ; // 0 : Case Insensitive |
|
1 |
// Function to set special attributes. Copied from FCK Core function
|
|
2 |
function SetAttribute( element, attName, attValue )
|
|
3 |
{
|
|
4 |
if ( attValue == null || attValue.length == 0 )
|
|
5 |
element.removeAttribute( attName, 0 ) ; // 0 : Case Insensitive
|
|
6 |
else
|
|
7 |
element.setAttribute( attName, attValue, 0 ) ; // 0 : Case Insensitive
|
|
8 | 8 |
} |
Also available in: Unified diff
upgrade FCKeditor to Version 2.6.6