Author: amarkhel
Date: 2010-12-08 08:24:39 -0500 (Wed, 08 Dec 2010)
New Revision: 20459
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js
Log:
RF-9905 popupPanel: popupPanel.js: this.id should contains component id but not an object
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js
===================================================================
---
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js 2010-12-08
12:55:29 UTC (rev 20458)
+++
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js 2010-12-08
13:24:39 UTC (rev 20459)
@@ -56,7 +56,6 @@
this.attachToDom(this.markerId);
this.options = $.extend(this.options, defaultOptions, options || {});
- this.id = $(richfaces.getDomElement(id)); // Should be component Id string // NOT AN
OBJECT
this.minWidth = this.getMinimumSize(this.options.minWidth);
this.minHeight = this.getMinimumSize(this.options.minHeight);
this.maxWidth = this.options.maxWidth;
@@ -174,8 +173,6 @@
this.markerId = null;
this.options = null;
- this.id = null;
-
this.div = null;
this.cdiv = null;
this.contentDiv = null;
@@ -412,7 +409,7 @@
!root.disabled && root.type!="hidden") {
callback.call(this, root);
} else {
- if (root != this.id) {
+ if (root != this.div) {
var child = root.firstChild;
while (child) {
if (!child.style || child.style.display != 'none') {
@@ -487,7 +484,7 @@
this.currentMinHeight = undefined;
this.currentMinWidth = undefined;
- this.id.hide();
+ this.div.hide();
if (this.parent) {
if (this.domReattached) {
Show replies by date