Author: bibryam
Date: Mon Apr 19 16:04:30 2010
New Revision: 935644
URL:
http://svn.apache.org/viewvc?rev=935644&view=revLog:
Fixed lookup descriptions, which got broken after changes in the generated html.
Modified:
ofbiz/trunk/framework/images/webapp/images/selectall.js
Modified: ofbiz/trunk/framework/images/webapp/images/selectall.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/selectall.js?rev=935644&r1=935643&r2=935644&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Mon Apr 19 16:04:30 2010
@@ -356,14 +356,14 @@ function setLookDescription(textFieldId,
description = description.substring(0, start);
}
}
- var ulElement = $(textFieldId).up('ul');
- if (ulElement) {
+ var lookupWrapperEl = $(textFieldId).up('.field-lookup');
+ if (lookupWrapperEl) {
var tooltipElement = $(textFieldId + '_lookupDescription');
if (!tooltipElement) {
- tooltipElement = new Element('li', {id : textFieldId + '_lookupDescription', 'class' : 'tooltip'});
+ tooltipElement = new Element('span', {id : textFieldId + '_lookupDescription', 'class' : 'tooltip'});
}
tooltipElement.update(description);
- ulElement.appendChild(tooltipElement);
+ lookupWrapperEl.appendChild(tooltipElement);
}
}