Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta2
-
Component/s: ACE-Components
-
Labels:None
-
Environment:IE7, IE8, ICEfaces 2.1.0 Beta2
-
Assignee Priority:P1
Description
When closing a modal dialog using the visible attribute the modal overlay does not get removed in IE browsers. This is working fine in Firefox
-
Hide
- Case10574Example.war
- 7.43 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/.../example/TestBean.class 1.0 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-ace.jar 1.40 MB
- WEB-INF/lib/icefaces-compat.jar 2.35 MB
- WEB-INF/lib/icefaces.jar 242 kB
- WEB-INF/lib/javax.faces.jar 2.48 MB
- WEB-INF/web.xml 2 kB
- welcomeICEfaces.xhtml 2 kB
-
Hide
- Case10574Example.zip
- 17 kB
- Arran Mccullough
-
- Case10574Example/build.xml 3 kB
- Case10574Example/.../ant-deploy.xml 2 kB
- Case10574Example/.../build-impl.xml 58 kB
- Case10574Example/.../genfiles.properties 0.5 kB
- Case10574Example/.../private.properties 0.5 kB
- Case10574Example/.../project.properties 3 kB
- Case10574Example/nbproject/project.xml 0.9 kB
- Case10574Example/src/conf/MANIFEST.MF 0.0 kB
- Case10574Example/src/.../TestBean.java 0.8 kB
- Case10574Example/web/.../context.xml 0.1 kB
- Case10574Example/web/WEB-INF/web.xml 2 kB
- Case10574Example/.../welcomeICEfaces.xhtml 2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
In fix for ICE-7361, jQuery event mechanism was used to trigger click event of title bar close button (and thus custom dialog close event) to close previous instance of dialog. Seems this jQuery event mechanism doesn't work in IE in this case. Need to trace and compare the jQuery code paths to see what's being executed differently in IE.
Show
yip.ng
added a comment - - edited In fix for ICE-7361 , jQuery event mechanism was used to trigger click event of title bar close button (and thus custom dialog close event) to close previous instance of dialog. Seems this jQuery event mechanism doesn't work in IE in this case. Need to trace and compare the jQuery code paths to see what's being executed differently in IE.
Fixed. Figured out another API that works for IE as well in this case, without needing to change jquery.js or jquery-ui.js.
Revision: 26408
Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/resources/icefaces.ace/dialog/dialog.js
Attached test case that shows issue. Dialog can be opened via two buttons, one calls and action method the other an actionListener. Upon opening the dialog, there are two similar buttons that will do the same. Using the action or the actionListener will reproduce the issue upon closing the dialog.