Skip to content

Issue: #217 EditMOM3 "all saved" response occurs even when the document isn't stored in the database

Stephan requested to merge github/fork/JBigalke/master into master

Created by: JBigalke

In my-collection-save.service.xml: added methods to create hash-values from the data to be saved, and from the saved date. Then compare the two hash-values. When the values are same, then return true, when not return false.

In jquery.ui.xmleditor.js: Get the return value from my-collection-save.service.xml, when true write message: "All changes saved." When false write message "Failed to save changes." When jquery.ui.xmleditor.js can't load the save-script write the message: "Error: Failed to load save-script."

Merge request reports

Loading