Author: jleroux
Date: Sat Aug 28 10:36:18 2010
New Revision: 990338
URL:
http://svn.apache.org/viewvc?rev=990338&view=revLog:
A patch from Sascha Rodekamp "selectall.js jquery transformation" (
https://issues.apache.org/jira/browse/OFBIZ-3863) - OFBIZ-3863
The collapse and expandAll function didn't work correctly, also replaces the remaining $ with jQuery.
Now only the autocomplete dropdown is missing,
Modified:
ofbiz/branches/jquery/framework/images/webapp/images/selectall.js
Modified: ofbiz/branches/jquery/framework/images/webapp/images/selectall.js
URL:
http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/selectall.js?rev=990338&r1=990337&r2=990338&view=diff==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/branches/jquery/framework/images/webapp/images/selectall.js Sat Aug 28 10:36:18 2010
@@ -528,11 +528,11 @@ function toggleScreenlet(link, areaId, s
function ajaxInPlaceEditDisplayField(element, url, options) {
var jElement = jQuery("#" + element);
jElement.mouseover(function() {
- $(this).css('background-color', 'rgb(255, 255, 153)');
+ jQuery(this).css('background-color', 'rgb(255, 255, 153)');
});
jElement.mouseout(function() {
- $(this).css('background-color', 'transparent');
+ jQuery(this).css('background-color', 'transparent');
});
jElement.editable(function(value, settings){
@@ -618,7 +618,7 @@ function expandAll(expanded) {
groupbody=divs1[j];
}
}
- if($(groupbody).visible() != expanded) {
+ if(jQuery(groupbody).is(':visible') != expanded) {
toggleCollapsiblePanel(links[0], groupbody.id, 'expand', 'collapse');
}
}