{"action":"created","issue":{"url":"https://api.github.com/repos/wikipathways/pvjs/issues/331","labels_url":"https://api.github.com/repos/wikipathways/pvjs/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/wikipathways/pvjs/issues/331/comments","events_url":"https://api.github.com/repos/wikipathways/pvjs/issues/331/events","html_url":"https://github.com/wikipathways/pvjs/issues/331","id":90777730,"number":331,"title":"Sequential saving of edits is broken","user":{"login":"khanspers","id":1442197,"avatar_url":"https://avatars.githubusercontent.com/u/1442197?v=3","gravatar_id":"","url":"https://api.github.com/users/khanspers","html_url":"https://github.com/khanspers","followers_url":"https://api.github.com/users/khanspers/followers","following_url":"https://api.github.com/users/khanspers/following{/other_user}","gists_url":"https://api.github.com/users/khanspers/gists{/gist_id}","starred_url":"https://api.github.com/users/khanspers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khanspers/subscriptions","organizations_url":"https://api.github.com/users/khanspers/orgs","repos_url":"https://api.github.com/users/khanspers/repos","events_url":"https://api.github.com/users/khanspers/events{/privacy}","received_events_url":"https://api.github.com/users/khanspers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wikipathways/pvjs/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wikipathways/pvjs/milestones/8","html_url":"https://github.com/wikipathways/pvjs/milestones/editor-v1","labels_url":"https://api.github.com/repos/wikipathways/pvjs/milestones/8/labels","id":1176036,"number":8,"title":"editor-v1","description":"","creator":{"login":"ariutta","id":1296771,"avatar_url":"https://avatars.githubusercontent.com/u/1296771?v=3","gravatar_id":"","url":"https://api.github.com/users/ariutta","html_url":"https://github.com/ariutta","followers_url":"https://api.github.com/users/ariutta/followers","following_url":"https://api.github.com/users/ariutta/following{/other_user}","gists_url":"https://api.github.com/users/ariutta/gists{/gist_id}","starred_url":"https://api.github.com/users/ariutta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariutta/subscriptions","organizations_url":"https://api.github.com/users/ariutta/orgs","repos_url":"https://api.github.com/users/ariutta/repos","events_url":"https://api.github.com/users/ariutta/events{/privacy}","received_events_url":"https://api.github.com/users/ariutta/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":1,"state":"open","created_at":"2015-06-22T20:16:27Z","updated_at":"2015-06-24T22:56:05Z","due_on":"2015-06-27T07:00:00Z","closed_at":null},"comments":1,"created_at":"2015-06-24T20:51:42Z","updated_at":"2015-06-24T22:56:05Z","closed_at":"2015-06-24T22:56:05Z","body":"Here's what happens: I make a change in QuickEdit, the Close button changes to Save and Close as expected, and I can close out of the editor using the button and have the changes saved. The next time I open QuickEdit, the button says Close as expected, I make a change, which triggers the button to change to Save and Close, I close out of the editor and it looks like everything worked. However, there is an error message at the top of the browser window (attached), and the next time (third time now) I open QuickEdit, the button displays Save and Close, without any changes being made, indicating that the previous edit was not saved. And if I refresh the browser, the last edit is indeed not saved.\r\n\r\nTry this on http://pvjs.wikipathways.org/index.php/Pathway:WP1:\r\n1. Open QuickEdit, change a gene to red color. Save and Close.\r\n2. Open QuickEdit, change a different gene to red. Save and Close. => see error at the top of the window. \r\n3. Open QuickEdit.  => Note that the button still says Save and Close. Refresh the browser window, the second edit is reverted.\r\n![screen shot 2015-06-24 at 1 42 54 pm](https://cloud.githubusercontent.com/assets/1442197/8341193/1c3707ea-1a78-11e5-8fdc-b93e13678afb.png)\r\n"},"comment":{"url":"https://api.github.com/repos/wikipathways/pvjs/issues/comments/115039081","html_url":"https://github.com/wikipathways/pvjs/issues/331#issuecomment-115039081","issue_url":"https://api.github.com/repos/wikipathways/pvjs/issues/331","id":115039081,"user":{"login":"AlexanderPico","id":1418193,"avatar_url":"https://avatars.githubusercontent.com/u/1418193?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderPico","html_url":"https://github.com/AlexanderPico","followers_url":"https://api.github.com/users/AlexanderPico/followers","following_url":"https://api.github.com/users/AlexanderPico/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderPico/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderPico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderPico/subscriptions","organizations_url":"https://api.github.com/users/AlexanderPico/orgs","repos_url":"https://api.github.com/users/AlexanderPico/repos","events_url":"https://api.github.com/users/AlexanderPico/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderPico/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T22:56:05Z","updated_at":"2015-06-24T22:56:05Z","body":"expected behavior, given #322 "}}