Download & Extend

Unexpected call to jquery.corner.js

Project:Rounded corners
Version:6.x-3.0-alpha2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Since updating to 6.x-3.0-alpha2 IE7 and IE8 throws an Error
Unexpected Call or access. (This is my literal translation from german.)
jquery.corner.js Line 163
Code 0 Character 17
URI: http://mysite.com/sites/all/modules/rounded_corners/jquery.corner.js?j

This would not give me that much of a headache, unless it messed up my accordion-views display, which doesn't work anymore since the update on IE. If I disable rounded corners, the view shows up properly again.

Comments

#1

Just realized that moving back to 6.x-2.0 doesn't rid me of the JS error, but solves the accordion-view problem in IE. Obviously there is another incompatibility between accordion views and Version 3.

#2

It breaks colorbox in IE7 for me...

#3

same here

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)
Timestamp: Mon, 25 Apr 2011 10:53:16 UTC

Message: Unexpected call to method or property access.
Line: 163
Char: 17
Code: 0
URI: http://www.website.com/sites/all/modules/rounded_corners/jquery.corner.js?Q

#4

I have the same problem. Has anyone already solve this bug yet?

#5

This seems to be the issue:
http://stackoverflow.com/questions/3794527/jquery-corner-problem-with-ie8

The short version: jquery.corner.js is trying to do things to input-type elements which IE doesn't like. You have to wrap them in a div, and apply the corners that div, or try a different rounding solution.

nobody click here