Author: kpiwko(a)redhat.com
Date: 2010-02-15 04:48:25 -0500 (Mon, 15 Feb 2010)
New Revision: 12053
Modified:
branches/community/Seam_2_2/examples/seambay/view/test.js
Log:
JBQA-2983, increased interval when service is marked as active
Modified: branches/community/Seam_2_2/examples/seambay/view/test.js
===================================================================
--- branches/community/Seam_2_2/examples/seambay/view/test.js 2010-02-14 18:28:42 UTC (rev
12052)
+++ branches/community/Seam_2_2/examples/seambay/view/test.js 2010-02-15 09:48:25 UTC (rev
12053)
@@ -277,6 +277,7 @@
return;
}
+ selectedService.setActive(true);
document.getElementById("serviceResponse").value = null;
var req;
@@ -293,7 +294,6 @@
req.open("POST", getEndpoint(), true);
req.setRequestHeader("Content-type", "text/xml");
req.send(document.getElementById("serviceRequest").value);
- selectedService.setActive(true);
}
function receiveResponse(req)
@@ -312,12 +312,12 @@
document.getElementById("conversationId").value = cid;
}
}
- selectedService.setActive(false);
if (req.status != 200)
{
alert("There was an error processing your request. Error code: " +
req.status);
}
+ selectedService.setActive(false);
}
}
Show replies by date