@@ -39,6 +41,7 @@
Operations
Disable Site
Set Types
Set Site Domain Names
+
Update Created
@@ -102,6 +105,13 @@
Output
doApiCall('POST', url, '#standardOutput', '#errorOutput', JSON.stringify(payload));
});
+
+ $('#doCreated').on('click', function () {
+ var created = parseInt($('#created').val());
+ var siteId = encodeURIComponent($('#siteId').val());
+ var url = '/api/site/created?id=' + siteId;
+ doApiCall('POST', url, '#standardOutput', '#errorOutput', JSON.stringify({created:created}));
+ });
});