Author: jleroux
Date: Mon May 31 19:41:39 2010
New Revision: 949847
URL:
http://svn.apache.org/viewvc?rev=949847&view=revLog:
"Applied fix from trunk for revision: 949844"
------------------------------------------------------------------------
r949844 | jleroux | 2010-05-31 21:37:51 +0200 (lun. 31 mai 2010) | 4 lignes
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/branches/release10.04/ (props changed)
ofbiz/branches/release10.04/framework/images/webapp/images/fieldlookup.js
Propchange: ofbiz/branches/release10.04/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon May 31 19:41:39 2010
@@ -1,3 +1,3 @@
/ofbiz/branches/addbirt:831210-885099,885686-886087
/ofbiz/branches/multitenant20100310:921280-927264
-/ofbiz/trunk:939988,939990,939999,940025,940053,940234,940248,940309,940401,940410,940425,940779,940815,940849,941007,941047,941109,941177,941199,941261,941440,941600,941999,942084,942406,942414,942671,942883-942884,943168,943271-943272,944614,944621,944623,944647,944669,944797,944895,945010,945018,945026,945118,945573,945578,945580,945582,945610,945619,945848,945852,945857,946061,946066,946073,946075,946080,946309,946313,946320,946322,946596,947004-947005,947392,947424,947679,947988,948017,948694,949174,949710
+/ofbiz/trunk:939988,939990,939999,940025,940053,940234,940248,940309,940401,940410,940425,940779,940815,940849,941007,941047,941109,941177,941199,941261,941440,941600,941999,942084,942406,942414,942671,942883-942884,943168,943271-943272,944614,944621,944623,944647,944669,944797,944895,945010,945018,945026,945118,945573,945578,945580,945582,945610,945619,945848,945852,945857,946061,946066,946073,946075,946080,946309,946313,946320,946322,946596,947004-947005,947392,947424,947679,947988,948017,948694,949174,949710,949844
Modified: ofbiz/branches/release10.04/framework/images/webapp/images/fieldlookup.js
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/framework/images/webapp/images/fieldlookup.js?rev=949847&r1=949846&r2=949847&view=diff==============================================================================
--- ofbiz/branches/release10.04/framework/images/webapp/images/fieldlookup.js (original)
+++ ofbiz/branches/release10.04/framework/images/webapp/images/fieldlookup.js Mon May 31 19:41:39 2010
@@ -979,6 +979,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