- First commit to issue fork.
- Merge request !181Added language context when comparing current revision to original for changes β (Open) created by kurttrowbridge
- πΊπΈUnited States kurttrowbridge
Hello! There are a few issues in the Paragraphs issue queue that have to do with unexpected appearances of the "You have unsaved changes" message, but this one's closest to what I was seeing: that when editing a translation of a node and collapsing Paragraphs, I'd see the message even despite changing absolutely nothing.
I've provided a merge request that seems to be fixing it for me (I'm using what is now called the "stable" widget), though additional reviews would be great. The issue I found was that in the
isChanged()
comparison, the original contents were always being loaded in the site's default language, rather than the language being used in the current revision...so they never matched. This update gets the translation from context to make a more accurate comparison.