changeset 3966:7441231cedee

enable safari browser using gui editor
author Byeongweon [tasyblue@gmail.com]
date Fri, 04 Jul 2008 07:27:01 +0900
parents 884dfff5c076
children 7eb7f2d7e3f8
files wiki/htdocs/applets/FCKeditor/fckeditor.js wiki/htdocs/applets/moinFCKplugins/macro/macro.gif wiki/htdocs/common/js/common.js
diffstat 3 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/htdocs/applets/FCKeditor/fckeditor.js	Wed Jul 02 07:25:45 2008 +0900
+++ b/wiki/htdocs/applets/FCKeditor/fckeditor.js	Fri Jul 04 07:27:01 2008 +0900
@@ -219,7 +219,6 @@
 		/"/g, """).replace(
 		/</g, "&lt;").replace(
 		/>/g, "&gt;") ;
-
 	return text ;
 }
 
Binary file wiki/htdocs/applets/moinFCKplugins/macro/macro.gif has changed
--- a/wiki/htdocs/common/js/common.js	Wed Jul 02 07:25:45 2008 +0900
+++ b/wiki/htdocs/common/js/common.js	Fri Jul 04 07:27:01 2008 +0900
@@ -98,16 +98,14 @@
 	if ( window.opera && window.opera.version && parseFloat( window.opera.version() ) >= 9.5 )
 		return true ;
 
-	// diable safari until fix p tag finish problem
-
 	// Adobe AIR
 	// Checked before Safari because AIR have the WebKit rich text editor
 	// features from Safari 3.0.4, but the version reported is 420.
-	if ( false && sAgent.indexOf( ' adobeair/' ) != -1 )
+	if ( sAgent.indexOf( ' adobeair/' ) != -1 )
 		return ( sAgent.match( / adobeair\/(\d+)/ )[1] >= 1 ) ;	// Build must be at least v1
 
 	// Safari 3+
-	if ( false && sAgent.indexOf( ' applewebkit/' ) != -1 )
+	if ( sAgent.indexOf( ' applewebkit/' ) != -1 )
 		return ( sAgent.match( / applewebkit\/(\d+)/ )[1] >= 522 ) ;	// Build must be at least 522 (v3)
 
 	return false ;