Index: lams_central/web/fckeditor/fckeditor.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/Attic/fckeditor.js,v diff -u -r1.1 -r1.2 --- lams_central/web/fckeditor/fckeditor.js 11 Aug 2005 06:26:06 -0000 1.1 +++ lams_central/web/fckeditor/fckeditor.js 15 Aug 2005 06:33:30 -0000 1.2 @@ -1,4 +1,4 @@ -/* +/* * FCKeditor - The text editor for internet * Copyright (C) 2003-2005 Frederico Caldeira Knabben * @@ -31,6 +31,7 @@ this.BasePath = '/fckeditor/' ; this.CheckBrowser = true ; this.DisplayErrors = true ; + this.EnableSafari = false ; // This is a temporary property, while Safari support is under development. this.Config = new Object() ; @@ -132,6 +133,9 @@ // Gecko else if ( navigator.product == "Gecko" && navigator.productSub >= 20030210 ) return true ; + // Safari + else if ( this.EnableSafari && sAgent.indexOf( 'safari' ) != -1 ) + return ( sAgent.match( /safari\/(\d+)/ )[1] >= 312 ) ; // Build must be at least 312 (1.3) else return false ; }