Opened 15 years ago
Closed 15 years ago
#593 closed defect (invalid)
InternetExplorer script error on a shadow parameter when using the popup parameter of AjaxDirectLink or AjaxSubmit
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
InternetExplorer? 6 on Windows XP/sp2. Dojo 0.2.2 and the Tacos Beta2 (source snapshot) toolkit. This problem does not occur in FireFox? 1.5.
I'm using AjaxDirectLink? to bring up a popup window. The html template code is below. When I hit this page in IE the script that attempts to bring up the popup window in IE throws up a debug message complaining of an error at line 9439 Error: Invalid Argument, followed by several Invalid Argument errors at line 837. Then IE's hourglass never goes away and the 'script error' icon in the lower left corner appears.
Also a problem: in Firefox the shadow always appears even though I've requested hasShadow: false. Could these issues be related?
I gave this critical severity because I cannot use the popup window in IE.
<html> <body jwcid="$content$" border="20px"> <span jwcid="@Border" pageTitle="Dup Shadow Bug on IE"> <br/> <div style="font-family:arial;font-size:10px; font-weight:bold;"> Duplication of the shadow bug on IE </div> <br/> <br/> <form jwcid="[email protected]:AjaxForm"> <a jwcid="[email protected]:AjaxDirectLink" listener="listener:popup" updateComponents="ognl:{'editValueArea'}" popup=" literal:{ title:'Edit Value Popup', widgetId:'editValueAreaWID', constrainToContainer:true, toggle:'none', hasShadow:false, resizable:false, persistenceWidgetPosition: false, contentNodeId:'editValueArea', style:'width: 360px; height: 480px; left: 100px; top: 100px; background-color:white;' }" > Click here</a> <!-- this is the content area --> <div style="display:none;"> <div jwcid="[email protected]" id="editValueArea" style="font-family:arial;font-size:12px; font-weight:bold;"> <strong>Popup content goes here</strong> <hr/> <span jwcid="[email protected]:AjaxEventSubmit" updateComponents="ognl:{'processClose'}" /> <input jwcid="[email protected]" eventListener="onclick=components.closePopup">Close</input> </div> </div> </form> <br/><br/> <div jwcid="[email protected]" condition="ognl:closePopup"> <script type="text/javascript"> if (dojo.widget.byId("editValueAreaWID")) { dojo.widget.byId("editValueAreaWID").hide(); } </script> </div> </span> </body> </html>
This looks like a Tacos bug and not a Dojo one? Probably you should file it there first.