Author: lektran
Date: Sat Apr 17 03:23:25 2010
New Revision: 935117
URL:
http://svn.apache.org/viewvc?rev=935117&view=revLog:
class is a reserved javascript keyword so you have to wrap it in quotes if you want to refer to an elements class attribute (I don't think Firefox complains but Safari does)
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=935117&r1=935116&r2=935117&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Sat Apr 17 03:23:25 2010
@@ -360,7 +360,7 @@ function setLookDescription(textFieldId,
if (ulElement) {
var tooltipElement = $(textFieldId + '_lookupDescription');
if (!tooltipElement) {
- tooltipElement = new Element('li', {id : textFieldId + '_lookupDescription', class : 'tooltip'});
+ tooltipElement = new Element('li', {id : textFieldId + '_lookupDescription', 'class' : 'tooltip'});
}
tooltipElement.update(description);
ulElement.appendChild(tooltipElement);