Author: nbelaevski
Date: 2007-11-12 18:07:54 -0500 (Mon, 12 Nov 2007)
New Revision: 3940
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-1335
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 2007-11-12
22:55:26 UTC (rev 3939)
+++
branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2007-11-12
23:07:54 UTC (rev 3940)
@@ -145,7 +145,7 @@
this.header = new ModalPanel.Border(id + "Header", this, "move",
ModalPanel.Header);
}
- this.markerId.modalPanel = this;
+ this.markerId.component = this;
var eDiv = $(this.div);
if (eDiv.style.setExpression)
@@ -213,7 +213,7 @@
discardElement(element);
}
}
- this.markerId.modalPanel = null;
+ this.markerId.component = null;
this.markerId = null;
},
@@ -925,7 +925,7 @@
panel = Richfaces.findModalPanel(id);
}
invoke(function() {
- panel.modalPanel.show(opts);
+ panel.component.show(opts);
});
@@ -936,5 +936,5 @@
if (!panel) {
panel = Richfaces.findModalPanel(id);
}
- panel.modalPanel.hide(opts);
+ panel.component.hide(opts);
};