Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/fckeditor/editor/dialog/js
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6803/phpslash-dev/public_html/scripts/fckeditor/editor/dialog/js
Modified Files:
fck_dialog_common.js fck_link.js
Log Message:
complete fckeditor addition
Index: fck_dialog_common.js
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/fckeditor/editor/dialog/js/fck_dialog_common.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fck_dialog_common.js 28 Oct 2004 20:17:44 -0000 1.1
--- fck_dialog_common.js 30 Oct 2004 13:53:13 -0000 1.2
***************
*** 12,17 ****
* Useful functions used by almost all dialog window pages.
*
! * Version: 2.0 Beta 1
! * Modified: 2004-05-31 23:07:51
*
* File Authors:
--- 12,17 ----
* Useful functions used by almost all dialog window pages.
*
! * Version: 2.0 Beta 2
! * Modified: 2004-06-18 01:15:41
*
* File Authors:
***************
*** 39,41 ****
--- 39,53 ----
element.setAttribute( attName, attValue, 0 ) ; // 0 : Case Insensitive
+ }
+
+ function GetAttribute( element, attName, valueIfNull )
+ {
+ var oAtt = element.attributes[attName] ;
+
+ if ( oAtt == null || !oAtt.specified )
+ return valueIfNull ;
+
+ var oValue = element.getAttribute( attName, 2 ) ;
+
+ return ( oValue == null ? valueIfNull : oValue ) ;
}
\ No newline at end of file
Index: fck_link.js
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/fckeditor/editor/dialog/js/fck_link.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fck_link.js 28 Oct 2004 20:17:44 -0000 1.1
--- fck_link.js 30 Oct 2004 13:53:13 -0000 1.2
***************
*** 12,17 ****
* Scripts related to the Link dialog window (see fck_link.html).
*
! * Version: 2.0 Beta 1
! * Modified: 2004-05-31 23:07:51
*
* File Authors:
--- 12,17 ----
* Scripts related to the Link dialog window (see fck_link.html).
*
! * Version: 2.0 Beta 2
! * Modified: 2004-06-02 00:26:07
*
* File Authors:
***************
*** 125,129 ****
FCK.Selection.MoveToNode( oLink ) ;
! function OnLoad()
{
// Translate the dialog box texts.
--- 125,129 ----
FCK.Selection.MoveToNode( oLink ) ;
! window.onload = function()
{
// Translate the dialog box texts.
***************
*** 139,142 ****
--- 139,145 ----
SetLinkType( GetE('cmbLinkType').value ) ;
+ // Show/Hide the "Browse Server" button.
+ GetE('divBrowseServer').style.display = oEditor.FCKConfig.LinkBrowser ? '' : 'none' ;
+
// Show the initial dialog content.
GetE('divInfo').style.display = '' ;
|