[rhmessaging-commits] rhmessaging commits: r3267 - mgmt/trunk/cumin/resources.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Wed Apr 8 09:34:40 EDT 2009
Author: eallen
Date: 2009-04-08 09:34:40 -0400 (Wed, 08 Apr 2009)
New Revision: 3267
Modified:
mgmt/trunk/cumin/resources/app.js
Log:
Also pass the container's height to the fullpage notify javascript function.
Modified: mgmt/trunk/cumin/resources/app.js
===================================================================
--- mgmt/trunk/cumin/resources/app.js 2009-04-08 13:33:08 UTC (rev 3266)
+++ mgmt/trunk/cumin/resources/app.js 2009-04-08 13:34:40 UTC (rev 3267)
@@ -131,7 +131,8 @@
oFullPage.getElement("p.fullpageIcon").setProperty("title", "Restore");
setFullpageParam(true, oFullPage);
var onfullpage = oFullPage.onfullpage;
- if (onfullpage) onfullpage($(oFullPage).getCoordinates().width);
+ var coords = $(oFullPage).getCoordinates();
+ if (onfullpage) onfullpage(coords.width, coords.height);
}
}
More information about the rhmessaging-commits
mailing list