"Document not updated" getting error on submit

I am getting error" Document not updated" when I try to submit a journal entry after updating develop version last night

I am also having same error while submitting all doc type Capture

frm.is_dirty() && remove it from save.js

How can i do that?

@Max_Fun, @Jerald following PR should fix the issue.