Author: jleroux
Date: Mon May 31 19:37:51 2010
New Revision: 949844
URL:
http://svn.apache.org/viewvc?rev=949844&view=revLog:
A patch from Atul Vani (see
https://issues.apache.org/jira/browse/OFBIZ-3555) - OFBIZ-3555
On IE8 the description was not being displayed at all.
With Firefox it was working fine. After doing some research I ended up with this patch. Seem like 'textContent' doesn't work in IE.
Modified:
ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
Modified: ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js?rev=949844&r1=949843&r2=949844&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/fieldlookup.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/fieldlookup.js Mon May 31 19:37:51 2010
@@ -978,6 +978,6 @@ var lookupDescriptionLoaded = Class.crea
}
Element.cleanWhitespace(wrapperElement);
Element.cleanWhitespace(wrapperElement.down());
- setLookDescription(this.fieldId, wrapperElement.firstDescendant().firstDescendant().textContent);
+ setLookDescription(this.fieldId, wrapperElement.firstDescendant().firstDescendant().innerHTML);
}
});
\ No newline at end of file