yaai icon indicating copy to clipboard operation
yaai copied to clipboard

Notes not saved between reloads

Open Xytrix01 opened this issue 11 years ago • 1 comments

Hi there, I'm using SugarCE 6.5.16 and Callinize/yaai 3.6.7 in Chrome and Firefox browsers. I seem to have everything working, pop ups happen for incoming and outgoing calls. The problem I am having is with the notes section in the pop up. When a call comes in, say from a new number, I start taking notes in the pop up window. When I click to associate the # to a new contact, the page loads the new contact form, the pop up refreshes, and all the notes are missing. I found the code to comment out to make it so the pop up stays open after clicking save, and that doesn't help. You can save the notes, then click on the new contact button, and the notes in the popup are gone. Same with the instance where it does recognize the number, and you click on the link to the contact, I loose everything there. Any ideas how I may solve this?

Xytrix01 avatar Nov 06 '13 00:11 Xytrix01

What you are describing is the expected behavior... Generally people just add notes and click save.

I agree though this kinda sucks that you can lose info. In order to fix that I think the easiest solution would be to detect when notes are entered and the user is trying to leave the page and display "You're going to lose information if you navigate away from this page"...

Google chat does the same thing for what it's worth...

To solve it you'd have to write the notes to a cookie or local storage and then whenever the page is reloaded it'd have to pull the data from there and put it back in the chat box. We have an exciting new pro version that does the chat version in an entirely different way. Contact me at blake [at] callinize.com if you want to learn more about it.

blak3r avatar Nov 06 '13 01:11 blak3r