]
Nick Belaevski updated RF-10221:
--------------------------------
Assignee: Gleb Galkin
Fix Version/s: 4.0.0.CR1
Error when opening a popup panel
--------------------------------
Key: RF-10221
URL:
https://issues.jboss.org/browse/RF-10221
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.0.0.Milestone5
Environment: myfaces 2.0.3, tomcat 6
Reporter: James Goodfellow
Assignee: Gleb Galkin
Labels: popupPanel
Fix For: 4.0.0.CR1
When I call show or hide for a popup panel I get the following error: "fn is
undefined" from firefox.
I believe the offening code is: (in popupPanel.js)
showPopupPanel : function (id, opts, event) {
$(document).ready(richfaces.$(id).show());
},
hidePopupPanel : function (id, opts, event) {
$(document).ready(richfaces.$(id).hide());
}
It should probably be something more like:
showPopupPanel : function (id, opts, event) {
$(document).ready( function() { richfaces.$(id).show() } );
},
hidePopupPanel : function (id, opts, event) {
$(document).ready( function(){ richfaces.$(id).hide() } );
}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: