Author: sergeyhalipov
Date: 2008-04-09 06:29:33 -0400 (Wed, 09 Apr 2008)
New Revision: 7687
Modified:
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
Log:
Remove unnecessary condition in script.
Modified:
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
===================================================================
---
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2008-04-09
10:28:10 UTC (rev 7686)
+++
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2008-04-09
10:29:33 UTC (rev 7687)
@@ -273,7 +273,7 @@
}
} else {
if (ModalPanel.activePanels.length > 0) {
- if (this.selectBehavior && "hide" == this.selectBehavior) {
+ if ("hide" == this.selectBehavior) {
if (!elt._mdwHiddenSet) {
elt._mdwHidden = elt.style.visibility;
elt._mdwHiddenSet = true;