Skip to content
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

if PUT endoint fails, still the ui shows "saved successfully" #5

Open
muly opened this issue Nov 20, 2016 · 1 comment
Open

if PUT endoint fails, still the ui shows "saved successfully" #5

muly opened this issue Nov 20, 2016 · 1 comment

Comments

@muly
Copy link
Collaborator

muly commented Nov 20, 2016

need to handle the error in UI for the notes PUT endpoint

@muly muly changed the title if put endoint fails, still the ui shows "saved successfully" if PUT endoint fails, still the ui shows "saved successfully" Nov 20, 2016
@muly
Copy link
Collaborator Author

muly commented Nov 20, 2016

function putNotesData(......
.....
var body = '{"URL":"'+url+'","Notes":"'+notes+'"}';
x.send(body);

in the above code snippet, the notes variable need to be encoded to handle the new line. need to research on how to send text with new lines in JSON format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant