[gatein-commits] gatein SVN: r7190 - epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/portal.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Aug 19 13:52:12 EDT 2011


Author: mwringe
Date: 2011-08-19 13:52:11 -0400 (Fri, 19 Aug 2011)
New Revision: 7190

Modified:
   epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalHttpRequest.js
Log:
JBEPP-1087: fix NPE issue when adding a new container to a page. Fixes a previously bad patch applied which didn't correct for a javascript method parameter order switch.

Modified: epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalHttpRequest.js
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalHttpRequest.js	2011-08-19 16:20:22 UTC (rev 7189)
+++ epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalHttpRequest.js	2011-08-19 17:52:11 UTC (rev 7190)
@@ -640,7 +640,7 @@
  * @param {boolean} async - asynchronous or none
  * @return {String} response text if request is not async
  */
-function ajaxAsyncRequest(url, async, method, queryString) {
+function ajaxAsyncRequest(method, url, async, queryString) {
 	if(async == undefined) async = true ;
 	var request =  eXo.core.Browser.createHttpRequest() ;
   request.open(method, url, async) ;



More information about the gatein-commits mailing list