Skip to content

Commit

Permalink
Merge pull request #2956 from SCADA-LTS/fix/#2826_Fixed_Cannot_create…
Browse files Browse the repository at this point in the history
…_Serotonin_Persistent_TCP_type_publisher

#2826 Fixed Cannot create Serotonin Persistent TCP type publisher
  • Loading branch information
Limraj authored Jul 18, 2024
2 parents 385e8b0 + ed0d766 commit e708ad5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion WebContent/WEB-INF/jsp/publisherEdit.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
errorMessages[j].innerHTML = '';
}
showMessage("message", "<fmt:message key="publisherEdit.saved"/>");
showHttpSenderTest();
if (${publisher.type.id == applicationScope['constants.PublisherVO.Types.HTTP_SENDER']}) {
showHttpSenderTest();
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion WebContent/WEB-INF/jsp/publisherEdit/editPersistent.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
</script>
Expand Down

0 comments on commit e708ad5

Please sign in to comment.