Actions
Bug #2763
closedCurveycorners conflicting with templates in IE
Description
Curvey Corners JS library appears to be conflicting with various templates in IE. It appears to only be loaded in IE according to outputCbTemplate. Nor could any usages of Curvey Corners be found in CB source. Seams safe to remove for future release.
Updated by beat about 13 years ago
Curvy corners is used in rounded displays in CB.
We need to make it more solid or remove it all together.
At very least we now need to check for IE version, now that IE9 implements some CSS3.
Updated by beat about 13 years ago
In comprofiler.class.php it already checks for IE and IE < 9 :
$useragent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : "unknown";
if ( strstr( $useragent, 'MSIE' ) ) {
$matches = null;
if ( preg_match( '/MSIE\s(\d+\.\d+)/i', $useragent, $matches ) ) {
if ( $matches[1] < 9 ) {
// Internet Explorer before version 9 doesn't understand curvy corners: help it:
$_CB_framework->document->addHeadScriptUrl( '/components/com_comprofiler/js/curvycorners.js', true );
}
}
}
Updated by beat about 13 years ago
- Status changed from New to Closed
- Assignee set to beat
- Target version set to CB 1.7.1
- % Done changed from 0 to 100
- Estimated time set to 2:00 h
r1595 Updated curvyCorners to 2.1 stable from 2.1 pre5. Maybe that fixes that conflict too ?
Worth a test with CB 1.7.1.
Actions