From: Ivan Kohler Date: Wed, 20 Mar 2013 00:44:04 +0000 (-0700) Subject: quick fix for IE10 issue w/fckeditor, RT#22014 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=295e80ba5a6da472edd7299098a336c4007d26be;p=freeside.git quick fix for IE10 issue w/fckeditor, RT#22014 --- diff --git a/httemplate/elements/fckeditor/fckeditor.js b/httemplate/elements/fckeditor/fckeditor.js index 8e0126bae..eb7d339af 100644 --- a/httemplate/elements/fckeditor/fckeditor.js +++ b/httemplate/elements/fckeditor/fckeditor.js @@ -304,7 +304,7 @@ function FCKeditor_IsCompatibleBrowser() // Internet Explorer 5.5+ if ( /*@cc_on!@*/false && sAgent.indexOf("mac") == -1 ) { - var sBrowserVersion = navigator.appVersion.match(/MSIE (.\..)/)[1] ; + var sBrowserVersion = navigator.appVersion.match(/MSIE ([\d.]+)/)[1] ; return ( sBrowserVersion >= 5.5 ) ; }