svn commit: r943909 - /ofbiz/trunk/framework/images/webapp/images/fieldlookup.js

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r943909 - /ofbiz/trunk/framework/images/webapp/images/fieldlookup.js

jleroux@apache.org
Author: jleroux
Date: Thu May 13 15:20:18 2010
New Revision: 943909

URL: http://svn.apache.org/viewvc?rev=943909&view=rev
Log:
A patch from Sascha Rodekamp "The minimize/enlarge buttons (+ -) blocks the layer" (https://issues.apache.org/jira/browse/OFBIZ-3692) - OFBIZ-3692

The previous related fix (r942084) was working locally but not on the demo server. We have not ideas why yet but this patch is a try to fix this issue...

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=943909&r1=943908&r2=943909&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/fieldlookup.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/fieldlookup.js Thu May 13 15:20:18 2010
@@ -586,9 +586,9 @@ function modifyCollapseable(lookupDiv){
     
      getNextCollapseSeq();
      var childEle = childElements[j].firstChild;
-     childEle.onclick = function () {
-     toggleScreenlet(childEle, 'lec' + COLLAPSE, 'true', 'Expand', 'Collapse');
-     };
+    
+     childEle.setAttribute('onclick', "javascript:toggleScreenlet(this, 'lec" + COLLAPSE +"', 'true', 'Expand', 'Collapse');");
+     childEle.href = "javascript:void(0);"
      slTitleBar.next('div').setAttribute('id', 'lec' + COLLAPSE);
     
     }