Author: ruwan
Date: Mon Dec 10 03:28:04 2007
New Revision: 10833
Log:
Fixing the issue ESBJAVA-379
Modified:
trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/mediators/send_mediator.js
Modified:
trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/mediators/send_mediator.js
==============================================================================
---
trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/mediators/send_mediator.js
(original)
+++
trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/mediators/send_mediator.js
Mon Dec 10 03:28:04 2007
@@ -50,7 +50,7 @@
sendmediator.setAttribute("a_ep", epstring);
}
-collectdata["send"] = function collectlogdata(mediator) {
+collectdata["send"] = function collectsenddata(mediator) {
if (mediator.childNodes.length > 0) {
if (currentepobj != undefined && currentepobj != null) {
mediator.removeChild(mediator.childNodes[0]);
@@ -118,7 +118,7 @@
if (mediator.childNodes.length > 0) {
for (var k=0; k<mediator.childNodes.length; k++) {
previous_ep_value = mediator.childNodes[k];
- if (previous_ep_value != null && previous_ep_value !=
undefined && previous_ep_value.localName == "endpoint") {
+ if (previous_ep_value != null && previous_ep_value !=
undefined && previous_ep_value.nodeName == "syn:endpoint") {
mediator.removeChild(previous_ep_value);
}
}
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev