-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contact IR Tool - Code Troubleshooting #17
Comments
// Velo API Reference: https://www.wix.com/velo/reference/api-overview/introduction import wixLocation from 'wix-location'; var Templates; $w.onReady(async function () { let query_ticker = wixLocation.query['ticker']; $w('#inputIRNbShares').value = "2"; // Default value for inputIRNbShares $w('#textIREmail').readOnly = true; // Mapping for listAutocompleteTicker $w('#buttonSearchCompany').collapse(); // Hide field buttonSearchCompany // Register events on buttons and so on... function debugLog(content) { const setIRemail = async(content) => const setIREmailSubject = async(content) => const setIREmailBody = async(content) => function strReplaceAll(subject = "", search, replacement) function ReplaceCompanyInfo(source = "")
} const getTemplates = async(template_filter_recipient = "") => {
} const getTemplate = async(template_filter_recipient = "") => if (Templates === undefined && inputSearchCompany.length >= 1) if (!( Templates === undefined ) && !( Templates["Subject"] === undefined ))
} const getCompanies = async() => { $w('#buttonSearchCompany').expand(); const searchCompany = async() => { let response = "Not found"; if (inputSearchCompany.length >= 1)
} const GenerateEmailLink = async() => { textIREmailSubject = encodeURIComponent(textIREmailSubject); let buttonIRlink = let emailImage ="https://static.wixstatic.com/media/cafcd7_e3212f954a434bce814a1475259b43fd~mv2.png"; // Fake button Email Client $w("#textCopied").collapse(); export function inputSearchCompany_keyPress(event) { setTimeout(() => {
}, 10); export function containerAutocompleteTickers_click(event, $w) $w("#listAutocompleteTicker").collapse(); const radioRecordHolder_change = async() => { export function imageCopy_click(event) { let textEmailBody = $w('#textIREmailBody').value; wixWindow.copyToClipboard(textEmailBody) |
I'm not sure of why it's formatting the above way or a better way to share this data - What I think we could look into is creating pages within WhyDRS repo for each page within the current site navigation. I can take the time to do this but may need some coaching to get started. @JamesAlfonse |
I found what looks like the same code here. It's in the src->pages folder within this repo. Looks like there's one for contacting brokers as well in that folder. Let me know if this helps. |
That definitely looks like the same code. I didn't realize we already had that set up! Thank you. |
https://www.whydrs.org/contact-investor-relations
This tool is currently broken. It used custom code to refer to items on the main Database spreadsheet, namely the IR emails themselves from the main data page and it pulls text to create emails from this sheet. Main author PutPsy is not currently active with the WhyDRS project. Below will be pasted code info off site.
The text was updated successfully, but these errors were encountered: