Skip to content

Commit

Permalink
Update panel.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hagaryavin authored Dec 9, 2024
1 parent 70d8e46 commit 8967aaa
Showing 1 changed file with 71 additions and 1 deletion.
72 changes: 71 additions & 1 deletion panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,41 @@ function getChainData() {
});
}
function submitData() {
selectedData.guestName1="";
selectedData.topicOfStory1="";
selectedData.message1="";
selectedData.aboutTheGuest1="";
selectedData.facebookLink1="";
selectedData.instagramLink1="";
selectedData.websiteLink1="";
selectedData.email1="";
selectedData.guestPhone1="";
selectedData.order1="";
selectedData.guestName2="";
selectedData.topicOfStory2="";
selectedData.message2="";
selectedData.aboutTheGuest2="";
selectedData.facebookLink2="";
selectedData.instagramLink2="";
selectedData.websiteLink2="";
selectedData.email2="";
selectedData.guestPhone2="";
selectedData.order2="";
selectedData.guestName3="";
selectedData.topicOfStory3="";
selectedData.message3="";
selectedData.aboutTheGuest3="";
selectedData.facebookLink3="";
selectedData.instagramLink3="";
selectedData.websiteLink3="";
selectedData.email3="";
selectedData.guestPhone3="";
selectedData.order3="";
selectedData.chainName="";
selectedData.date="";
selectedData.hour="";
selectedData.interviewerName="";
selectedData.interviewerPhone="";
var nameAndChain1 = document.getElementById("peopleList1").value.split(" + ");
var nameAndChain2 = document.getElementById("peopleList2").value.split(" + ");

Expand Down Expand Up @@ -449,6 +484,41 @@ function submitData() {
}
}
function submitDataEng() {
selectedData.guestName1="";
selectedData.topicOfStory1="";
selectedData.message1="";
selectedData.aboutTheGuest1="";
selectedData.facebookLink1="";
selectedData.instagramLink1="";
selectedData.websiteLink1="";
selectedData.email1="";
selectedData.guestPhone1="";
selectedData.order1="";
selectedData.guestName2="";
selectedData.topicOfStory2="";
selectedData.message2="";
selectedData.aboutTheGuest2="";
selectedData.facebookLink2="";
selectedData.instagramLink2="";
selectedData.websiteLink2="";
selectedData.email2="";
selectedData.guestPhone2="";
selectedData.order2="";
selectedData.guestName3="";
selectedData.topicOfStory3="";
selectedData.message3="";
selectedData.aboutTheGuest3="";
selectedData.facebookLink3="";
selectedData.instagramLink3="";
selectedData.websiteLink3="";
selectedData.email3="";
selectedData.guestPhone3="";
selectedData.order3="";
selectedData.chainName="";
selectedData.date="";
selectedData.hour="";
selectedData.interviewerName="";
selectedData.interviewerPhone="";
var nameAndChain1 = document.getElementById("peopleListEng1").value.split(" + ");
var nameAndChain2 = document.getElementById("peopleListEng2").value.split(" + ");

Expand Down Expand Up @@ -1076,4 +1146,4 @@ function changeTimeZone(date, timeZone) {
return new Date(new Date(date).toLocaleString('en-US', { timeZone }));
}
return new Date(date.toLocaleString('en-US', { timeZone }));
}
}

0 comments on commit 8967aaa

Please sign in to comment.