[richfaces-svn-commits] JBoss Rich Faces SVN: r5677 - branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Mon Jan 28 16:04:36 EST 2008
Author: nbelaevski
Date: 2008-01-28 16:04:36 -0500 (Mon, 28 Jan 2008)
New Revision: 5677
Modified:
branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
Log:
http://jira.jboss.com/jira/browse/RF-2092
Modified: branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
===================================================================
--- branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2008-01-28 20:57:45 UTC (rev 5676)
+++ branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2008-01-28 21:04:36 UTC (rev 5677)
@@ -603,15 +603,20 @@
this.header.doPosition();
}
+ Element.hide(eCdiv);
element.style.visibility = "";
-
- this.lastOnfocus();
- var event = {};
- event.parameters = opts || {};
- if (this.eventOnShow) this.eventOnShow(event);
-
- this.shown = true;
+ setTimeout(function() {
+ Element.show(eCdiv);
+
+ this.lastOnfocus();
+
+ var event = {};
+ event.parameters = opts || {};
+ if (this.eventOnShow) this.eventOnShow(event);
+
+ this.shown = true;
+ }.bind(this), 0);
},
startDrag: function(border) {
More information about the richfaces-svn-commits
mailing list