Author: doogie
Date: Wed Sep 15 19:26:31 2010
New Revision: 997469
URL:
http://svn.apache.org/viewvc?rev=997469&view=revLog:
I misunderstood how prototype works, I thought it modified global
classes with it's new features, so I thought that getDimension would
always be available.
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=997469&r1=997468&r2=997469&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Wed Sep 15 19:26:31 2010
@@ -603,7 +603,7 @@ function waitSpinnerShow() {
spinner.style.display = 'block';
var bdy = document.body;
- var dimensions = spinner.getDimensions();
+ var dimensions = $(spinner).getDimensions();
var lookupLeft = (bdy.offsetWidth / 2) - (dimensions.width / 2);
var scrollOffY = document.viewport.getScrollOffsets().top;
var winHeight = document.viewport.getHeight();