x
x
x
x
Only portrait mode is currently supported - please rotate your device.
...
Is in event cohost list | ||||
---|---|---|---|---|
|
HTML |
---|
<script> console.log("first thing in no format"); var event_exists_group = "event-TEST"; var event_exists_group_arr = [event_exists_group]; // flags to check if event exists var event_exists = false; console.log(event_exists_group_arr, "HERE I AM"); // flag to check if event have been shown yet var event_changed = false; function addEventExistsGroup(event_exists_group) { jQuery.ajax({ url: "/rest/scriptrunner/latest/custom/addGroup", headers: { "X-Atlassian-Token": "nocheck", "Content-type": "application/json", }, type: "POST", dataType: "text", data: JSON.stringify({ group: [event_exists_group], }), success: function (text) { console.log("Response: " + text); }, error: function (err) { alert("Group has already been added"); }, }); } function removeSemifinalExistsGroup(event_exists_group) { jQuery.ajax({ url: "/rest/scriptrunner/latest/custom/removeGroup", headers: { "X-Atlassian-Token": "nocheck", "Content-type": "application/json", }, type: "POST", dataType: "text", data: JSON.stringify({ group: [event_exists_group], }), success: function (text) { console.log("Response: " + text); }, error: function (err) { alert("Group has already been removed"); }, }); } $("#createGroup").click(() => { console.log("clicked add button"); addEventExistsGroup(event_exists_group); }); $("#removeGroup").click(() => { console.log("clicked remove button"); removeSemifinalExistsGroup(event_exists_group) }) </script> |
...
ConfiForms Form Definition | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<!-- Page view count → <!–Missing countryCode validation→ <!-- --> <!--Load the current field values--> <!--Load the current field values (ADMIN)--> <!--Don't allow events in the past→ <!--Don't allow end date earlier than start date--> <!--Add cohosts to ownedBy list on new entry--> <!--Update cohosts to ownedBy list on existing entry--> <!--Set current attachment name on new entry--> <!--Update the banner image if changed--> <!--Update the organizer image if changed--> <!--Update the sponsor 1 image if changed--> <!--Update the sponsor 2 image if changed--> <!--Update the sponsor 3 image if changed--> <!--Update fields upon edit--> <!--Redirect new entry--> <!--Redirect on update--> <!-- send analytics Event--> <!–Create new page--> <!--Send email to ashk on page creation--> <!-- --> <!–Update entry with created page url--> <!–Update entry with created page update url--> <!-- Copy Banner Image to attachments bank --> <!-- Copy Organizer image to attachments bank --> <!--Copy Sponsor 1 image to attachments bank--> <!--Copy Sponsor 2 image to attachments bank--> <!--Copy Sponsor 3 image to attachments bank--> <!--Delete update entry reference--> <!--Send email to new co-hosts--> Hello, You receiving this message because you are listed as a cohost on the [entry.name] event. To view changes, edit, or publish the event, go <a href="[entry.createdPage.urlPath]">here</a>. Thank you, All Stars Helping Kids Team |
...
OneValley