Skip to content

Updating revision number after saving #322

@AlexanderPico

Description

@AlexanderPico

At this point in the code:
https://github.com/wikipathways/pvjs/blob/master/lib/editor/editor.js#L185

You can grab the new revision number from the responseText, like so:

response.responseText

This will return a value, like 80291, that then needs to be passed to pvjs so that it knows what the current version is in order to support additional edits.

Doable?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions