I think the problem with this script is that text “Saving…” when you click on Save button should not replace editable content.
For example, I’ve edited content, then killed my Internet connection and click on Save. In the place of edited text I get “Saving…”. Because the Internet connection is broken (or Work Offline is selected on browser), next click on editable DIV brings me text “Saving…” to edit, and the previous content is lost.
I think the problem with this script is that text “Saving…” when you click on Save button should not replace editable content.
For example, I’ve edited content, then killed my Internet connection and click on Save. In the place of edited text I get “Saving…”. Because the Internet connection is broken (or Work Offline is selected on browser), next click on editable DIV brings me text “Saving…” to edit, and the previous content is lost.