diff --git a/WebContent/WEB-INF/jsp/publisherEdit.jsp b/WebContent/WEB-INF/jsp/publisherEdit.jsp index 3381edcadd..eba0e5d4fb 100644 --- a/WebContent/WEB-INF/jsp/publisherEdit.jsp +++ b/WebContent/WEB-INF/jsp/publisherEdit.jsp @@ -39,7 +39,9 @@ errorMessages[j].innerHTML = ''; } showMessage("message", ""); - showHttpSenderTest(); + if (${publisher.type.id == applicationScope['constants.PublisherVO.Types.HTTP_SENDER']}) { + showHttpSenderTest(); + } } } diff --git a/WebContent/WEB-INF/jsp/publisherEdit/editPersistent.jsp b/WebContent/WEB-INF/jsp/publisherEdit/editPersistent.jsp index acb6f6c516..ba87f38f55 100644 --- a/WebContent/WEB-INF/jsp/publisherEdit/editPersistent.jsp +++ b/WebContent/WEB-INF/jsp/publisherEdit/editPersistent.jsp @@ -125,7 +125,7 @@ points[points.length] = {dataPointId: selectedPoints[i].id}; PublisherEditDwr.savePersistentSender(name, xid, enabled, points, $get("host"), $get("port"), - $get("authorizationKey"), $get("syncType"), cacheWarningSize, changesOnly, sendSnapshot, + $get("authorizationKey"), xid, $get("syncType"), cacheWarningSize, changesOnly, sendSnapshot, snapshotSendPeriods, snapshotSendPeriodType, savePublisherCB); }