Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
GTNPORTAL-2479: JSF Portlet page doesn't re render after Ajax ActionR…
Browse files Browse the repository at this point in the history
…equest
  • Loading branch information
mto committed Jul 27, 2012
1 parent 69df082 commit c1a5421
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -500,7 +500,8 @@ function HttpResponseHandler() {
if(parentId && parentId != "") parentBlock = gj("#" + parentId);
parentBlock = !parentBlock ? gj(document) : parentBlock;

blocksToUpdate.each(function(blockToUpdate) {
gj.each(blocksToUpdate, function() {
var blockToUpdate = this;
var target = parentBlock.find("#" + blockToUpdate.blockId);
if(target.length == 0) alert(_module.I18NMessage.getMessage("TargetBlockNotFound", new Array (blockToUpdate.blockId))) ;
var newData = gj(blockToUpdate.data).find("#" + blockToUpdate.blockId);
Expand Down Expand Up @@ -561,7 +562,8 @@ function HttpResponseHandler() {
//Handle the portlet responses
var portletResponses = response.portletResponses ;
if(portletResponses) {
portletResponses.each(function(portletResponse) {
gj.each(portletResponses, function() {
var portletResponse = this;
if(!portletResponse.blocksToUpdate) {
/*
* This means that the entire portlet fragment is included in the portletResponse.portletData
Expand Down

0 comments on commit c1a5421

Please sign in to comment.