Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Component/s: None
-
Labels:None
-
Environment:IE 6 & 7
-
ICEsoft Forum Reference:
Description
When changing tabs in a panelTabSet on a page with a command button, the following error is generated:
[window.7xZl#1] : failed to insert element: <input class="iceCmdBtn headerButton" id="j_id15:cmdHdrHelp" name="j_id15:cmdHdrHelp" onblur="setFocus('');" onclick="openHelpWin('http://java.sun.com');return false;iceSubmit(form,this,event);return false;" onfocus="setFocus(this.id);" tabindex="21" type="submit" value="Open Help Window">...</input>
[object Error]
[window.7xZl#1] : failed to insert element: <input class="iceCmdBtn headerButton" id="j_id15:cmdHdrHelp" name="j_id15:cmdHdrHelp" onblur="setFocus('');" onclick="openHelpWin('http://java.sun.com');return false;iceSubmit(form,this,event);return false;" onfocus="setFocus(this.id);" tabindex="21" type="submit" value="Open Help Window">...</input>
[object Error]
When the bridge code tries to update the dom for the style properties of an input element, IE somehow throws an "invalid argument" exception when the property is "font" and the new value is an empty string. (i.e. font property not specified.) All other properties work OK. When the font property is not specified, assigning an empty string is the same as not assigning it all. Therefore we can skip the font property assignment under this condition to avoid the IE exception.